1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Merge pull request #189999 from sbruder/test-driver-formatting-closed-port

nixos/test-driver: fix formatting of closed port
This commit is contained in:
Jacek Galowicz 2022-09-06 14:48:13 +02:00 committed by GitHub
commit 8ae3e986a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -712,7 +712,7 @@ class Machine:
status, _ = self.execute("nc -z localhost {}".format(port))
return status != 0
with self.nested("waiting for TCP port {} to be closed"):
with self.nested("waiting for TCP port {} to be closed".format(port)):
retry(port_is_closed)
def start_job(self, jobname: str, user: Optional[str] = None) -> Tuple[int, str]: