]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add a check for crash_replay_interval autoset
authorJohn Spray <john.spray@redhat.com>
Tue, 24 Jun 2014 21:14:03 +0000 (14:14 -0700)
committerJohn Spray <john.spray@redhat.com>
Tue, 1 Jul 2014 17:40:03 +0000 (18:40 +0100)
... that after a fs new on fresh pools, crash_replay_interval
is set to the default on the data pool.

Signed-off-by: John Spray <john.spray@redhat.com>
qa/workunits/cephtool/test.sh

index dba80687ad89625f5f238517b8c9137bfd407a9e..0a8be56ae03eb8dbe9f1dde6ab774d7f70e6cc7d 100755 (executable)
@@ -298,6 +298,10 @@ function test_mon_mds()
   ceph osd pool create fs_metadata 10
   ceph fs new default fs_metadata fs_data
 
+  # Check for default crash_replay_interval set automatically in 'fs new'
+  ceph osd dump | grep fs_data > $TMPFILE
+  check_response "crash_replay_interval 45 "
+
   ceph mds cluster_down
   ceph mds cluster_up