Merge "Increase timeouts in TestComponentRegistry"
This commit is contained in:
commit
d91efe232d
@ -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"
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user