Skip to content

Commit

Permalink
test: print message when assertion failed
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <[email protected]>
  • Loading branch information
yangchiu authored and khushboo-rancher committed May 8, 2024
1 parent 5253543 commit 2e0b8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/integration/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4633,7 +4633,7 @@ def wait_for_rebuild_complete(client, volume_name, retry_count=RETRY_COUNTS):
rebuild_statuses = v.rebuildStatus
for status in rebuild_statuses:
if status.state == "complete":
assert status.progress == 100
assert status.progress == 100, f"status = {status}"
assert not status.error
assert not status.isRebuilding
completed += 1
Expand Down

0 comments on commit 2e0b8c1

Please sign in to comment.