]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix test on "ceph fs set cephfs allow_new_snaps" 21829/head
authorKefu Chai <kchai@redhat.com>
Sat, 5 May 2018 01:38:29 +0000 (09:38 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 5 May 2018 01:40:41 +0000 (09:40 +0800)
snapshot is now enabled for new fs in 81d0554e, so this test should be
updated accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh

index 0878ee57e92bec17dc63a27d7efe0ece9cc2cffd..49d0e7ac19c1dfc50222ddab5e13de0dce2f0200 100755 (executable)
@@ -988,8 +988,7 @@ function test_mon_mds()
   expect_false ceph fs set cephfs max_file_size 123asdf
 
   expect_false ceph fs set cephfs allow_new_snaps
-  expect_false ceph fs set cephfs allow_new_snaps true
-  ceph fs set cephfs allow_new_snaps true --yes-i-really-mean-it
+  ceph fs set cephfs allow_new_snaps true
   ceph fs set cephfs allow_new_snaps 0
   ceph fs set cephfs allow_new_snaps false
   ceph fs set cephfs allow_new_snaps no