Skip to content

Commit

Permalink
fix(recurringjob): use new volume to check backup status.
Browse files Browse the repository at this point in the history
Ref: longhorn/longhorn 9454

Signed-off-by: James Lu <jamesluhz@gmail.com>
  • Loading branch information
mantissahz authored and derekbit committed Sep 16, 2024
1 parent 2e4b3b9 commit 76b0728
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manager/integration/tests/test_recurring_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@ def test_recurring_job(set_random_backupstore, client, volume_name): # NOQA

complete_backup_1_count = 0
complete_backup_2_count = 0
volume = client.by_id_volume(volume_name)
wait_for_backup_completion(client, volume_name)
volume = wait_for_backup_completion(client, volume_name)
for b in volume.backupStatus:
if "backup1-" in b.snapshot:
complete_backup_1_count += 1
Expand Down

0 comments on commit 76b0728

Please sign in to comment.