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 <yang.chiu@suse.com>
(cherry picked from commit 2e0b8c1)
  • Loading branch information
yangchiu committed May 27, 2024
1 parent f96b265 commit 7d25776
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 @@ -4583,7 +4583,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 7d25776

Please sign in to comment.