Skip to content

Commit

Permalink
Fix HA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Sep 18, 2023
1 parent 7f630c9 commit 1524d50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/ha_tests/test_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ async def test_network_cut(ops_test, continuous_writes):

@pytest.mark.abort_on_fail
@pytest.mark.unstable
async def test_scale_up_down(ops_test: OpsTest, continuous_writes):
async def test_scale_up_down(ops_test: OpsTest):
"""Scale up and down the application and verify the replica set is healthy."""
scales = [3, -3, 4, -4, 5, -5, 6, -6, 7, -7]
for count in scales:
Expand Down Expand Up @@ -711,7 +711,7 @@ async def scale_and_verify(ops_test: OpsTest, count: int, remove_leader: bool =
assert primary is not None, "Replica set has no primary"


async def _verify_writes(ops_test: OpsTest, continuous_writes):
async def _verify_writes(ops_test: OpsTest):
# verify that no writes to the db were missed
total_expected_writes = await helpers.stop_continous_writes(ops_test)
actual_writes = await helpers.count_writes(ops_test)
Expand Down

0 comments on commit 1524d50

Please sign in to comment.