]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix damage expectation setting 25967/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 9 Jan 2019 00:26:14 +0000 (16:26 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 15 Jan 2019 17:50:27 +0000 (09:50 -0800)
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 569044d42555be30ab352889e942851357c98d24..632a1a50a0c34dc2c96b00926d1993498293ec08 100644 (file)
@@ -182,7 +182,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