nixos/tests/convos: fix tests

- Fix journal grep test
This commit is contained in:
Stig Palmquist 2022-06-08 17:37:14 +02:00 committed by Stig Palmquist
parent 011f472b29
commit 8532168fd7
No known key found for this signature in database
GPG key ID: 6A0B75A8D9DCC005

View file

@ -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}/")
'';
})