Skip to content

Commit

Permalink
tests: make get_retcode in test_agent - test_max_output_per_channel b…
Browse files Browse the repository at this point in the history
…locking (timeout=0)
  • Loading branch information
assafgi committed Mar 5, 2020
1 parent bf2cc45 commit 615318e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/uts/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_max_output_per_channel(self):
job_id = self.run_cmd_on_agent(
['bash', '-ce', 'python -c "import sys; sys.stdout.write(\'{}\' * {})"'.format(val, val_repeats)],
**kwargs)
retcode = get_retcode(self.agent.redis, job_id, timeout=3)
retcode = get_retcode(self.agent.redis, job_id, timeout=0)
self.assertEqual(retcode, expected_ret)

if expected_ret == '0':
Expand Down

0 comments on commit 615318e

Please sign in to comment.