at 24.11-pre 605 B view raw
1{ system ? builtins.currentSystem 2, config ? {} 3, pkgs ? import ../.. { inherit system config; } 4}: 5import ./make-test-python.nix ({lib, pkgs, ...}: { 6 name = "fanout"; 7 meta.maintainers = [ lib.maintainers.therishidesai ]; 8 9 nodes = let 10 cfg = { ... }: { 11 services.fanout = { 12 enable = true; 13 fanoutDevices = 2; 14 bufferSize = 8192; 15 }; 16 }; 17 in { 18 machine = cfg; 19 }; 20 21 testScript = '' 22 start_all() 23 24 # mDNS. 25 machine.wait_for_unit("multi-user.target") 26 27 machine.succeed("test -c /dev/fanout0") 28 machine.succeed("test -c /dev/fanout1") 29 ''; 30})