From 04257d8a4f00103fcb420a0ba3ed105dac54ffee Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 24 Sep 2021 14:52:54 -0700 Subject: [PATCH] Allow more time in test_smart_reconfiguration On very slow nodes, this test appears to require more time. Change-Id: I82fe61e3303790f602d0c0fe7536d959ddf5ebdb --- tests/unit/test_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_scheduler.py b/tests/unit/test_scheduler.py index 68fecace2c..d1a80bc311 100644 --- a/tests/unit/test_scheduler.py +++ b/tests/unit/test_scheduler.py @@ -8879,7 +8879,7 @@ class TestSchedulerSmartReconfiguration(ZuulTestCase): # event queue after waitUntilSettled. start = time.time() while True: - if time.time() - start > 15: + if time.time() - start > 30: raise Exception("Timeout waiting for smart reconfiguration") new_two = self.scheds.first.sched.tenant_layout_state.get( 'tenant-two', EMPTY_LAYOUT_STATE)