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:
Venky Shankar 2026-03-04 14:27:50 +05:30
parent 1df675bb60
commit 3df770e1fc

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