]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix damage expectation setting 26047/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 9 Jan 2019 00:26:14 +0000 (16:26 -0800)
committerPrashant D <pdhange@redhat.com>
Sun, 20 Jan 2019 23:55:51 +0000 (18:55 -0500)
The purge queue expectation was being ignored.

Fixes: http://tracker.ceph.com/issues/37837
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 360550b1ab143bb59fd38c77569f7f5ef762801a)

qa/tasks/cephfs/test_damage.py

index 2ac14bf4b198f450045ed7cfeba7ddd103a53b15..3d14244ad9f718671283fc70fd1d8c461650ae33 100644 (file)
@@ -184,7 +184,7 @@ class TestDamage(CephFSTestCase):
                     o,
                     "Truncate {0}".format(o),
                     lambda o=o: self.fs.rados(["truncate", o, "0"]),
-                    DAMAGED_ON_START
+                    expectation
             ))
 
         # OMAP value corruptions