Skip to content

Commit

Permalink
Merge branch '6/edge' into shard-cannot-recieve-backup-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri authored Feb 20, 2024
2 parents 4ed733a + 5b8c969 commit 247919c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/sharding_tests/test_sharding_backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ async def test_create_and_list_backups_in_cluster(ops_test: OpsTest, github_secr
assert backups == 1, "Backup not created."



@pytest.mark.group(1)
async def test_shards_cannot_run_backup_actions(ops_test: OpsTest) -> None:
shard_unit = await backup_helpers.get_leader_unit(ops_test, db_app_name=SHARD_ONE_APP_NAME)
Expand All @@ -141,3 +142,4 @@ async def test_shards_cannot_run_backup_actions(ops_test: OpsTest) -> None:
action = await shard_unit.run_action(action_name="restore")
attempted_backup = await action.wait()
assert attempted_backup.status == "failed", "shard ran list-backup command."

0 comments on commit 247919c

Please sign in to comment.