]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: move ino_release_cb to libcephfs sub-suite
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 25 Mar 2021 20:19:56 +0000 (13:19 -0700)
committersinguliere <singuliere@autistici.org>
Fri, 9 Apr 2021 05:30:03 +0000 (07:30 +0200)
It is not testing a bug. Also, fix cap recall configs so this test is
properly triggered.

Fixes: https://tracker.ceph.com/issues/49500
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 892b8410bcc579df0c7ba194c50dda48a6bb4e33)

qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml
qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml [new file with mode: 0644]

index 7ef15b31f9b7dd8d1583d5aba08b85db9a510602..098f7d053944aa2f45073b524757b5304702a5cd 100644 (file)
@@ -12,4 +12,3 @@ tasks:
 - exec:
     client.0:
     - ceph_test_trim_caps
-    - ceph_test_ino_release_cb
diff --git a/qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml b/qa/suites/fs/libcephfs/tasks/ino_release_cb.yaml
new file mode 100644 (file)
index 0000000..5b52474
--- /dev/null
@@ -0,0 +1,19 @@
+overrides:
+  ceph:
+    conf:
+      client:
+        debug ms: 1
+        debug client: 20
+      mds:
+        debug ms: 1
+        debug mds: 20
+tasks:
+- exec:
+    mon.a:
+    - ceph config set mds mds_min_caps_per_client 1
+- background_exec:
+    mon.a:
+    - "sleep 30 && ceph config set mds mds_max_caps_per_client 1"
+- exec:
+    client.0:
+    - ceph_test_ino_release_cb