]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
suites: rados: multimon: add mon clock skews task yaml files
authorJoao Eduardo Luis <jecluis@gmail.com>
Fri, 11 Jan 2013 01:08:29 +0000 (01:08 +0000)
committerSage Weil <sage@inktank.com>
Fri, 11 Jan 2013 02:03:03 +0000 (18:03 -0800)
Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
suites/rados/multimon/tasks/mon_clock_no_skews.yaml [new file with mode: 0644]
suites/rados/multimon/tasks/mon_clock_with_skews.yaml [new file with mode: 0644]

diff --git a/suites/rados/multimon/tasks/mon_clock_no_skews.yaml b/suites/rados/multimon/tasks/mon_clock_no_skews.yaml
new file mode 100644 (file)
index 0000000..b259651
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- ceph:
+  log-whitelist:
+  - slow request
+  - .*clock.*skew.*
+  - clocks not synchronized
+- mon_clock_skew_check:
+    expect-skew: false
diff --git a/suites/rados/multimon/tasks/mon_clock_with_skews.yaml b/suites/rados/multimon/tasks/mon_clock_with_skews.yaml
new file mode 100644 (file)
index 0000000..1a9c011
--- /dev/null
@@ -0,0 +1,14 @@
+overrides:
+  ceph:
+    conf:
+      mon.b:
+        clock offset: 10
+tasks:
+- ceph:
+  wait-for-healthy: false
+  log-whitelist:
+  - slow request
+  - .*clock.*skew.*
+  - clocks not synchronized
+- mon_clock_skew_check:
+    expect-skew: true