]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: make test_journal_migration immune to stdout changes 67710/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 4 Mar 2026 08:57:50 +0000 (14:27 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 20 Apr 2026 04:15:52 +0000 (09:45 +0530)
Fixes: http://tracker.ceph.com/issues/75083
Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_journal_migration.py

index 1ae7aa528ff9e25c9fca67ba39b4f0fd8e21ea25..5633b79b039be8168f0b2cd05d6632dfb6301937 100644 (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
             ))