at 23.05-pre 448 B view raw
1import ../make-test-python.nix ({ pkgs, lib, ... }: { 2 name = "phylactery"; 3 4 nodes.machine = { ... }: { 5 services.phylactery = rec { 6 enable = true; 7 port = 8080; 8 library = "/tmp"; 9 }; 10 }; 11 12 testScript = '' 13 start_all() 14 machine.wait_for_unit('phylactery') 15 machine.wait_for_open_port(8080) 16 machine.wait_until_succeeds('curl localhost:8080') 17 ''; 18 19 meta.maintainers = with lib.maintainers; [ McSinyx ]; 20})