nixos/tests/convos: fix tests
- Fix journal grep test
This commit is contained in:
parent
011f472b29
commit
8532168fd7
|
@ -24,7 +24,7 @@ in
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.wait_for_unit("convos")
|
machine.wait_for_unit("convos")
|
||||||
machine.wait_for_open_port(${toString port})
|
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}/")
|
machine.succeed("curl -f http://localhost:${toString port}/")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue