nixosTests.convos: Fix missing port variable

This commit is contained in:
Robert Hensing 2022-06-17 12:24:52 +02:00
parent 2c8bbf33fd
commit 3624bb535f

View file

@ -23,7 +23,7 @@ in
testScript = ''
machine.wait_for_unit("convos")
machine.wait_for_open_port(port)
machine.wait_for_open_port(${toString port})
machine.succeed("journalctl -u convos | grep -q 'Listening at.*${toString port}'")
machine.succeed("curl -f http://localhost:${toString port}/")
'';