mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 01:18:24 +00:00
nixos/tests/convos: fix tests
- Fix journal grep test
This commit is contained in:
parent
011f472b29
commit
8532168fd7
@ -24,7 +24,7 @@ in
|
||||
testScript = ''
|
||||
machine.wait_for_unit("convos")
|
||||
machine.wait_for_open_port(${toString port})
|
||||
machine.succeed("journalctl -u convos | grep -q 'Listening at.*${toString port}'")
|
||||
machine.succeed("journalctl -u convos | grep -q 'application available at.*${toString port}'")
|
||||
machine.succeed("curl -f http://localhost:${toString port}/")
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user