]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: fix OSD_NEARFULL while running mirror tests wip-jcollin-testing-1510
authorJos Collin <jcollin@redhat.com>
Tue, 14 Oct 2025 10:41:26 +0000 (16:11 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 15 Oct 2025 09:31:42 +0000 (15:01 +0530)
Fixes: https://tracker.ceph.com/issues/71701
Fixes: https://tracker.ceph.com/issues/72869
Signed-off-by: Jos Collin <jcollin@redhat.com>
qa/suites/fs/valgrind/mirror/overrides/ignorelist_health.yaml
qa/tasks/cephfs/test_mirroring.py

index 4cb7d981d9d490b5726aa3bee089a5066e119866..8e2649f11392a386f3e42945cea977c7461988b7 120000 (symlink)
@@ -1 +1 @@
-./.qa/cephfs/overrides/ignorelist_health.yaml
\ No newline at end of file
+./.qa/suites/fs/mirror/overrides/ignorelist_health.yaml
\ No newline at end of file
index f408fdb64e782f7d1b79f171582909164513ae84..9c4b956445a39c9220c313c525ef7147845bb031 100644 (file)
@@ -675,7 +675,7 @@ class TestMirroring(CephFSTestCase):
         self.mount_a.run_shell(["mkdir", "d0"])
         for i in range(100):
             filename = f'file.{i}'
-            self.mount_a.write_n_mb(os.path.join('d0', filename), 1024)
+            self.mount_a.write_n_mb(os.path.join('d0', filename), 40)
 
         self.enable_mirroring(self.primary_fs_name, self.primary_fs_id)
         self.add_directory(self.primary_fs_name, self.primary_fs_id, '/d0')
@@ -706,7 +706,7 @@ class TestMirroring(CephFSTestCase):
         self.mount_a.run_shell(["mkdir", "d0"])
         for i in range(8):
             filename = f'file.{i}'
-            self.mount_a.write_n_mb(os.path.join('d0', filename), 1024)
+            self.mount_a.write_n_mb(os.path.join('d0', filename), 512)
 
         self.enable_mirroring(self.primary_fs_name, self.primary_fs_id)
         self.add_directory(self.primary_fs_name, self.primary_fs_id, '/d0')
@@ -1547,4 +1547,5 @@ class TestMirroring(CephFSTestCase):
                                     peer_spec, f'/{dir_name}', snap_b, expected_snap_count)
         self.verify_snapshot(dir_name, snap_a)
         self.verify_snapshot(dir_name, snap_b)
+        self.remove_directory(self.primary_fs_name, self.primary_fs_id, f'/{dir_name}')
         self.disable_mirroring(self.primary_fs_name, self.primary_fs_id)