]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr/test_insights: Remove test for persistent checks 42670/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 20 Jul 2021 02:58:15 +0000 (12:58 +1000)
committerLaura Paduano <lpaduano@suse.com>
Thu, 5 Aug 2021 09:54:40 +0000 (11:54 +0200)
This test makes no sense if we are no longer persisting the store.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 32d1cca2d9b606915c590f52d61856ee401fb4fc)

qa/tasks/mgr/test_insights.py

index 423a4a8feae7ee92ef303b0e0ec29c5b6bef3eff..4a83c6c589a9c36f89837ee4e17a6918775295f5 100644 (file)
@@ -148,17 +148,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")