]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/mgr/test_insights.py
import ceph 16.2.6
[ceph.git] / ceph / qa / tasks / mgr / test_insights.py
index 9f952152c695d292207cca8225b0715bfa33eeeb..aa2548881d367e2282716b4c0ff6d0960060cec7 100644 (file)
@@ -149,17 +149,6 @@ class TestInsights(MgrTestCase):
         active_id = self.mgr_cluster.get_active_id()
         self.mgr_cluster.mgr_restart(active_id)
 
-        # ensure that at least one of the checks is present after the restart.
-        # we don't for them all to be present because "earlier" checks may not
-        # have sat in memory long enough to be flushed.
-        all_missing = True
-        report = self._insights()
-        for check in check_names:
-            if check in report["health"]["history"]["checks"]:
-                all_missing = False
-                break
-        self.assertFalse(all_missing)
-
         # pruning really removes history
         self.mgr_cluster.mon_manager.raw_cluster_cmd_result(
             "insights", "prune-health", "0")