at 25.11-pre 527 B view raw
1import ./make-test-python.nix ( 2 { pkgs, ... }: 3 { 4 name = "cloudlog"; 5 meta = { 6 maintainers = with pkgs.lib.maintainers; [ melling ]; 7 }; 8 nodes = { 9 machine = { 10 services.mysql.package = pkgs.mariadb; 11 services.cloudlog.enable = true; 12 }; 13 }; 14 testScript = '' 15 start_all() 16 machine.wait_for_unit("phpfpm-cloudlog") 17 machine.wait_for_open_port(80); 18 machine.wait_until_succeeds("curl -s -L --fail http://localhost | grep 'Login - Cloudlog'") 19 ''; 20 } 21)