Increase ping delay in WatchdogActorTest to try and reduce spurious test failures...
authorPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 7 Apr 2017 15:43:56 +0000 (11:43 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 7 Apr 2017 15:43:56 +0000 (11:43 -0400)
services/nodemanager/tests/test_failure.py

index 285aa03c7deaa84a07ab6407151f77f5f2b08a31..b947c955723ab53dcfa36e9694c16c4973560b2b 100644 (file)
@@ -26,7 +26,7 @@ class BogusActor(arvnodeman.baseactor.BaseNodeManagerActor):
     def ping(self):
         # Called by WatchdogActorTest, this delay is longer than the test timeout
         # of 1 second, which should cause the watchdog ping to fail.
-        time.sleep(2)
+        time.sleep(4)
         return True
 
 class ActorUnhandledExceptionTest(testutil.ActorTestMixin, unittest.TestCase):