Skip to content

Commit

Permalink
Add timeout to port forwarding test
Browse files Browse the repository at this point in the history
  • Loading branch information
blechschmidt committed Jun 22, 2024
1 parent 5f39ae4 commit f66d7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_port_forwarding(self):
sock.connect(('127.0.0.1', 1337))
sock.sendall(b'hello world\n')
sock.close()
nc.wait()
nc.wait(30)
with open(tmp.name, 'r') as f:
assert f.read().strip() == 'hello world'

Expand Down

0 comments on commit f66d7b0

Please sign in to comment.