qa/mgr/test_progress: add _get_osd_in_out_events to account for osd marked in/out events
Reviewed-by: Neha Ojha <nojha@redhat.com>
log.info("There was no PGs affected by osd being marked in")
return None
- new_event = self._events_in_progress()[0]
+ new_event = self._get_osd_in_out_events('in')[0]
return new_event
+ def _no_events_anywhere(self):
+ """
+ Whether there are any live or completed events
+ """
+ p = self._get_progress()
+ total_events = len(p['events']) + len(p['completed'])
+ return total_events == 0
+
def _is_quiet(self):
"""
Whether any progress events are live.