Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Makes test_list_jobs_by_pool more reliable (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
dposada authored and shamsimam committed Nov 27, 2019
1 parent adf7d58 commit 083ed27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/tests/cook/test_basic.py
Expand Up @@ -1058,7 +1058,8 @@ def test_list_jobs_by_pool(self):
for pool in pools:
pool_name = pool['name']
self.logger.info(f'Submitting jobs to {pool_name}')
job_uuid, resp = util.submit_job(self.cook_url, pool=pool_name, name=name, command=sleep_command)
job_uuid, resp = util.submit_job(self.cook_url, pool=pool_name, name=name,
command=sleep_command, max_retries=5)
self.assertEqual(201, resp.status_code)
jobs.append(util.load_job(self.cook_url, job_uuid))
job_uuid, resp = util.submit_job(self.cook_url, pool=pool_name, name=name, command='exit 0')
Expand Down

0 comments on commit 083ed27

Please sign in to comment.