From 615318ea6ed416373208c20db46592610fb11e83 Mon Sep 17 00:00:00 2001 From: Assaf Giladi Date: Thu, 5 Mar 2020 11:19:03 +0200 Subject: [PATCH] tests: make get_retcode in test_agent - test_max_output_per_channel blocking (timeout=0) --- tests/uts/test_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/uts/test_agent.py b/tests/uts/test_agent.py index 3184806..6491fce 100644 --- a/tests/uts/test_agent.py +++ b/tests/uts/test_agent.py @@ -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':