Skip to content

Commit adbf7eb

Browse files
committed
Track down unit
1 parent b454d06 commit adbf7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/ha_tests/test_scaling.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def test_removing_stereo_primary(ops_test: OpsTest, continuous_writes) ->
6767

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

70-
await are_writes_increasing(ops_test)
70+
await are_writes_increasing(ops_test, primary.name)
7171

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

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

95-
await are_writes_increasing(ops_test)
95+
await are_writes_increasing(ops_test, secondary.name)
9696

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

0 commit comments

Comments
 (0)