]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/thrasher: set stopping
authorNitzan Mordechai <nmordech@redhat.com>
Mon, 12 Aug 2024 11:44:48 +0000 (11:44 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Mon, 12 Aug 2024 11:44:52 +0000 (11:44 +0000)
stopping was set by PR #58282 to bool instead of set()

Fixes: https://tracker.ceph.com/issues/67496
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
qa/tasks/mon_thrash.py

index 34aa1f9cc9e2495408fbe46a029238236d483820..84b0b6c521b32cac73f0f0a1bc938feef50ffa6e 100644 (file)
@@ -161,7 +161,7 @@ class MonitorThrasher(Thrasher):
         """
         Stop the thrashing process.
         """
-        self.stopping = True
+        self.stopping.set()
 
     def join(self):
         """