From: Kamoltat (Junior) Sirivadhna Date: Mon, 29 Jul 2019 17:00:02 +0000 (-0400) Subject: qa/tasks/mgr/test_progress.py: fix bug in 9b4dbf0 X-Git-Tag: v15.1.0~1924^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=baa714117c3c624516743bdcce79caa6711d1091;p=ceph-ci.git qa/tasks/mgr/test_progress.py: fix bug in 9b4dbf0 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 --- diff --git a/qa/tasks/mgr/test_progress.py b/qa/tasks/mgr/test_progress.py index 1d28680ce8c..26dba042242 100644 --- a/qa/tasks/mgr/test_progress.py +++ b/qa/tasks/mgr/test_progress.py @@ -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'])