Skip to content

Commit

Permalink
Track down unit
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Sep 10, 2024
1 parent b454d06 commit e69800c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/ha_tests/test_scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def test_removing_stereo_primary(ops_test: OpsTest, continuous_writes) ->

await ops_test.model.wait_for_idle(status="active", timeout=600)

await are_writes_increasing(ops_test)
await are_writes_increasing(ops_test, primary)

logger.info("Scaling back up")
await ops_test.model.applications[DATABASE_APP_NAME].add_unit(count=1)
Expand All @@ -92,7 +92,7 @@ async def test_removing_stereo_sync_standby(ops_test: OpsTest, continuous_writes

await ops_test.model.wait_for_idle(status="active", timeout=600)

await are_writes_increasing(ops_test)
await are_writes_increasing(ops_test, secondary)

logger.info("Scaling back up")
await ops_test.model.applications[DATABASE_APP_NAME].add_unit(count=1)
Expand Down

0 comments on commit e69800c

Please sign in to comment.