Merge "Increase timeouts in TestComponentRegistry"

This commit is contained in:
Zuul 2024-02-12 23:34:32 +00:00 committed by Gerrit Code Review
commit d91efe232d
1 changed files with 3 additions and 3 deletions

View File

@ -309,7 +309,7 @@ class TestComponentRegistry(ZooKeeperBaseTestCase):
self.second_zk_client)
def assertComponentAttr(self, component_name, attr_name,
attr_value, timeout=10):
attr_value, timeout=25):
for _ in iterate_timeout(
timeout,
f"{component_name} in cache has {attr_name} set to {attr_value}",
@ -322,12 +322,12 @@ class TestComponentRegistry(ZooKeeperBaseTestCase):
):
break
def assertComponentState(self, component_name, state, timeout=10):
def assertComponentState(self, component_name, state, timeout=25):
return self.assertComponentAttr(
component_name, "state", state, timeout
)
def assertComponentStopped(self, component_name, timeout=10):
def assertComponentStopped(self, component_name, timeout=25):
for _ in iterate_timeout(
timeout, f"{component_name} in cache is stopped"
):