From: Milind Changire Date: Tue, 12 Jul 2022 08:20:28 +0000 (+0530) Subject: qa: restore checks since db is now being persisted X-Git-Tag: v16.2.11~388^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fa02c4f60218631737b133d7cd8970682f0acce9;p=ceph.git qa: restore checks since db is now being persisted Signed-off-by: Milind Changire --- diff --git a/qa/tasks/cephfs/test_snap_schedules.py b/qa/tasks/cephfs/test_snap_schedules.py index 72c197019a83..7a7259870ad6 100644 --- a/qa/tasks/cephfs/test_snap_schedules.py +++ b/qa/tasks/cephfs/test_snap_schedules.py @@ -438,8 +438,9 @@ class TestSnapSchedules(CephFSTestCase): self.fs_snap_schedule_cmd('deactivate', path=testdir, snap_schedule='1M') new_stats = self.get_snap_stats(testdir) - self.assertTrue(new_stats['fs_count'] == new_stats['db_count'] + old_stats['db_count']) + self.assertTrue(new_stats['fs_count'] == new_stats['db_count']) self.assertTrue(new_stats['fs_count'] > old_stats['fs_count']) + self.assertTrue(new_stats['db_count'] > old_stats['db_count']) # cleanup self.fs_snap_schedule_cmd('remove', path=testdir, snap_schedule='1M')