Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
blechschmidt committed Jun 22, 2024
1 parent 2e44c3a commit 1138666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: echo "$DOTENV" > tests/.env
- name: Run CLI tests
timeout-minutes: 30
run: cd tests && python test_cli.py -v PalliumTestCase.test_mv
run: cd tests && python -m trace --trace test_cli.py -v PalliumTestCase.test_mv
- name: Run sandbox tests
timeout-minutes: 30
run: cd tests && python test_sandbox.py -v
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ def test_port_forwarding(self):
sock.connect(('127.0.0.1', 1337))
sock.sendall(b'hello world\n')
sock.close()
nc.wait(30)
nc.wait(5)
with open(tmp.name, 'r') as f:
assert f.read().strip() == 'hello world'


if __name__ == '__main__':
unittest.main()
unittest.main(module='test_cli')

0 comments on commit 1138666

Please sign in to comment.