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

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()