From 99f29da50094abb92140cdd280061ba6f4fee512 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 5 May 2018 09:38:29 +0800 Subject: [PATCH] qa: fix test on "ceph fs set cephfs allow_new_snaps" snapshot is now enabled for new fs in 81d0554e, so this test should be updated accordingly. Signed-off-by: Kefu Chai (cherry picked from commit 5910c2902e50cf3c087009ed54ccf878b9ddff8c) --- qa/workunits/cephtool/test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 0878ee57e92..49d0e7ac19c 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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