Skip to content

Commit

Permalink
Merge pull request #1349 from weaviate/fix_backup_cancel_test
Browse files Browse the repository at this point in the history
Fix backup cancel test
  • Loading branch information
dirkkul authored Oct 17, 2024
2 parents f47a586 + 4d7d651 commit 07b318e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration_v3/test_backup_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,4 +485,5 @@ def test_cancel_backup(client: weaviate.WeaviateClient) -> None:
break
time.sleep(0.1)
status_resp = client.backup.get_create_status(backup_id=backup_id, backend=BACKEND)
assert status_resp.status == BackupStatus.CANCELED
# there can be a race between the cancel and the backup completion
assert status_resp.status == BackupStatus.CANCELED or status_resp.status == BackupStatus.SUCCESS

0 comments on commit 07b318e

Please sign in to comment.