mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Merge pull request #67710 from vshankar/wip-75083
qa/cephfs: make test_journal_migration immune to stdout changes Reviewed-by: Christopher Hoffman <choffman@redhat.com>
This commit is contained in:
commit
7b81d91b6c
@ -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