archive
/
catfish
Archived
1
Fork 0

Add timeout to starting worker

This commit is contained in:
Jake Howard 2018-12-14 22:44:39 +00:00
parent b184038cc4
commit 697c8cb6eb
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class BaseWorkerTestCase(BaseTestCase):
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True,
timeout=10,
)
self.assertEqual(result.returncode, 0, result.stdout)
@ -44,6 +45,7 @@ class BaseWorkerTestCase(BaseTestCase):
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True,
timeout=10,
)
self.assertEqual(result.returncode, 0, result.stdout)
super().tearDown()