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:
Venky Shankar 2026-04-21 15:37:59 +05:30 committed by GitHub
commit 7b81d91b6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
))