From: Igor Golikov Date: Wed, 18 Feb 2026 13:01:30 +0000 (+0000) Subject: test: fix code review comments X-Git-Tag: testing/wip-vshankar-testing-20260222.101816~3^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef34273dde92636d082280ce903094bf69c2b5b1;p=ceph-ci.git test: fix code review comments Signed-off-by: Igor Golikov Fixes: https://tracker.ceph.com/issues/74135 Fixes: https://tracker.ceph.com/issues/73700 --- diff --git a/qa/tasks/cephfs/test_mds_metrics.py b/qa/tasks/cephfs/test_mds_metrics.py index 08b05d323d5..54d6433fc9d 100644 --- a/qa/tasks/cephfs/test_mds_metrics.py +++ b/qa/tasks/cephfs/test_mds_metrics.py @@ -298,7 +298,6 @@ class TestMDSMetrics(TestMetrics): def test_mds_perf_metrics(self): # Trigger some I/O so that CPU metrics are sampled self._do_spread_io_all_clients() - time.sleep(5) cpu_entries, open_entries = self._wait_for_mds_rank_metrics(expected_count=1, rank=0, tries=30) self.assertEqual(len(cpu_entries), 1, cpu_entries) @@ -312,7 +311,6 @@ class TestMDSMetrics(TestMetrics): fscid = self.fs.id self._spread_directory_on_all_ranks(fscid) self._do_spread_io_all_clients() - time.sleep(5) cpu_entries, open_entries = self._wait_for_mds_rank_metrics(expected_count=2, rank=0, tries=30) self.assertEqual(len(cpu_entries), 2, cpu_entries) @@ -323,7 +321,6 @@ class TestMDSMetrics(TestMetrics): # Cleanup: remove directories and shrink back to a single MDS self._cleanup_test_dirs() self.fs.shrink(1) - time.sleep(5) def test_query_mds_filter(self): # validate