diff --git a/test/test_buildman.py b/test/test_buildman.py index e33adccbd..0d0b6ced2 100644 --- a/test/test_buildman.py +++ b/test/test_buildman.py @@ -124,7 +124,8 @@ class TestEphemeral(unittest.TestCase): @async_test def test_expiring_worker(self): # Test that we are watching before anything else happens - self.etcd_client_mock.watch.assert_called_once_with(ETCD_BUILDER_PREFIX, recursive=True) + self.etcd_client_mock.watch.assert_called_once_with(ETCD_BUILDER_PREFIX, recursive=True, + timeout=0) # Send a signal to the callback that a worker has expired expired_result = Mock(spec=etcd.EtcdResult)