]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Add scrub_test and repair_test to rados basic suite
authorDavid Zafman <david.zafman@inktank.com>
Tue, 4 Feb 2014 01:38:47 +0000 (17:38 -0800)
committerDavid Zafman <dzafman@redhat.com>
Fri, 7 Nov 2014 06:23:34 +0000 (22:23 -0800)
Signed-off-by: David Zafman <david.zafman@inktank.com>
suites/rados/basic/tasks/repair_test.yaml [new file with mode: 0644]
suites/rados/basic/tasks/scrub_test.yaml [new file with mode: 0644]

diff --git a/suites/rados/basic/tasks/repair_test.yaml b/suites/rados/basic/tasks/repair_test.yaml
new file mode 100644 (file)
index 0000000..0774766
--- /dev/null
@@ -0,0 +1,11 @@
+overrides:
+  ceph:
+    log-whitelist: ['candidate had a read error', 'deep-scrub 0 missing, 1 inconsistent objects', 'deep-scrub 0 missing, 4 inconsistent objects', 'deep-scrub 1 errors', 'deep-scrub 4 errors', '!= known omap_digest', 'repair 0 missing, 1 inconsistent objects', 'repair 0 missing, 4 inconsistent objects', 'repair 1 errors, 1 fixed', 'repair 4 errors, 4 fixed', 'scrub 0 missing, 1 inconsistent', 'scrub 1 errors', 'size 1 != known size']
+    conf:
+      osd:
+        filestore debug inject read err : true
+tasks:
+- install:
+- ceph:
+- repair_test:
+
diff --git a/suites/rados/basic/tasks/scrub_test.yaml b/suites/rados/basic/tasks/scrub_test.yaml
new file mode 100644 (file)
index 0000000..b9f4153
--- /dev/null
@@ -0,0 +1,13 @@
+overrides:
+  ceph:
+    log-whitelist:
+    - '!= known digest'
+    - '!= known omap_digest'
+    - deep-scrub 0 missing, 1 inconsistent objects
+    - deep-scrub 1 errors
+    - repair 0 missing, 1 inconsistent objects
+    - repair 1 errors, 1 fixed
+tasks:
+- install:
+- ceph:
+- scrub_test: