From 59e1ddf5de8011f28dd61e0800fbeb0976d21fe2 Mon Sep 17 00:00:00 2001 From: Ammar Aijazi Date: Sun, 28 Jun 2015 13:45:54 -0700 Subject: [PATCH] Increase the timeout for worker tests --- test/worker.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/worker.py b/test/worker.py index 99b217b31f..95443789c3 100755 --- a/test/worker.py +++ b/test/worker.py @@ -383,7 +383,11 @@ class TestBaseSplitCloneResiliency(unittest.TestCase): 'WorkerState == cleaning up', condition_fn=lambda v: v.get('WorkerState') == 'cleaning up', # We know that vars should already be ready, since we read them earlier - require_vars=True) + require_vars=True, + # We're willing to let the test run for longer to make it less flaky. + # This should still fail fast if something goes wrong with vtworker, + # because of the require_vars flag above. + timeout=5*60) # Verify that we were forced to reresolve and retry. self.assertGreater(worker_vars['WorkerDestinationActualResolves'], 1)