]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/mgr/test_progress.py: fix bug in 9b4dbf0
authorKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Mon, 29 Jul 2019 17:00:02 +0000 (13:00 -0400)
committerKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Mon, 5 Aug 2019 15:03:33 +0000 (11:03 -0400)
follow-up-fix for 9b4dbf0

basically we wanna look at the list that has inprogress events to inprogress+complete

Fixes: http://pulpito.ceph.com/kchai-2019-07-28_14:30:09-rados-wip-kefu2-testing-2019-07-28-1941-distro-basic-mira/4160881/
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
qa/tasks/mgr/test_progress.py

index 1d28680ce8cc580f8c0851307674d0f794dc2137..26dba04224292388ffea461e23c7533891edb186 100644 (file)
@@ -127,7 +127,7 @@ class TestProgress(MgrTestCase):
         self.wait_until_equal(lambda: len(self._events_in_progress()), 1,
                               timeout=self.EVENT_CREATION_PERIOD)
 
-        new_event = self._all_events()[0]
+        new_event = self._events_in_progress()[0]
         log.info(json.dumps(new_event, indent=1))
         self.assertIn("Rebalancing after osd.0 marked in", new_event['message'])