mirror of
https://github.com/ceph/ceph
synced 2025-03-31 16:25:56 +00:00
scrub_test: Fix swapped assert error messages
Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
4d0c668e9e
commit
b25392451e
@ -248,9 +248,9 @@ class InconsistentObjChecker:
|
||||
"multiple good attrs found"
|
||||
good_attr = attr
|
||||
assert bad_attr is not None, \
|
||||
"good {attr} not found".format(attr=attr_name)
|
||||
assert good_attr is not None, \
|
||||
"bad {attr} not found".format(attr=attr_name)
|
||||
assert good_attr is not None, \
|
||||
"good {attr} not found".format(attr=attr_name)
|
||||
assert good_attr != bad_attr, \
|
||||
"bad attr is identical to the good ones: " \
|
||||
"{0} == {1}".format(good_attr, bad_attr)
|
||||
|
Loading…
Reference in New Issue
Block a user