mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
qa/cephfs: make test_journal_migration immune to stdout changes
Fixes: http://tracker.ceph.com/issues/75083 Signed-off-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
parent
1df675bb60
commit
3df770e1fc
@ -69,7 +69,7 @@ class TestJournalMigration(CephFSTestCase):
|
||||
# Verify that cephfs-journal-tool can now read the rewritten journal
|
||||
self.fs.fail()
|
||||
inspect_out = self.fs.journal_tool(["journal", "inspect"], 0)
|
||||
if not inspect_out.endswith(": OK"):
|
||||
if inspect_out.find("Overall journal integrity: OK") < 0:
|
||||
raise RuntimeError("Unexpected journal-tool result: '{0}'".format(
|
||||
inspect_out
|
||||
))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user