Skip to content

Commit

Permalink
increase timeouts, widen check_freq on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Iman Enami committed Dec 20, 2024
1 parent e6fd583 commit c1195c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/integration/test_balancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ async def test_relate_not_enough_brokers(self, ops_test: OpsTest):
)

await ops_test.model.wait_for_idle(
apps=list({APP_NAME, ZK_NAME, self.balancer_app}), idle_period=30, timeout=1800
apps=list({APP_NAME, ZK_NAME, self.balancer_app}),
idle_period=30,
timeout=1200,
check_freq=30,
)

async with ops_test.fast_forward(fast_interval="20s"):
Expand All @@ -140,7 +143,8 @@ async def test_minimum_brokers_balancer_starts(self, ops_test: OpsTest):
await ops_test.model.wait_for_idle(
apps=list({APP_NAME, ZK_NAME, self.balancer_app, PRODUCER_APP}),
status="active",
timeout=1800,
timeout=3600,
check_freq=30,
idle_period=60,
raise_on_error=False,
)
Expand Down

0 comments on commit c1195c6

Please sign in to comment.