Skip to content

Commit

Permalink
Reduce the reconcile time to 5mins
Browse files Browse the repository at this point in the history
  • Loading branch information
yhaliaw committed Sep 7, 2023
1 parent dbe55b1 commit 6b50966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ async def app_scheduled_events(
"virtual-machines": 0,
"denylist": "10.10.0.0/16",
"test-mode": "insecure",
"reconcile-interval": 10,
"reconcile-interval": 5,
},
)
await model.wait_for_idle(status=ACTIVE_STATUS_NAME)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_charm_scheduled_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def test_update_interval(model: Model, app_scheduled_events: Application)
await run_in_unit(unit, f"lxc stop --force {runner_name}")
await wait_till_num_of_runners(unit, 0)

await sleep(10 * 60 + 5)
await sleep(5 * 60 + 5)

await model.wait_for_idle(status=ACTIVE_STATUS_NAME)
assert await check_runner_binary_exists(unit)
Expand Down

0 comments on commit 6b50966

Please sign in to comment.