From: chungfengz Date: Thu, 25 Jul 2024 13:41:35 +0000 (+0800) Subject: test: add a test for `fs set down` on online cluster X-Git-Tag: v20.0.0~1330^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f8becaaedb206e7b683698aac296b48e646e44b9;p=ceph.git test: add a test for `fs set down` on online cluster Fixes: https://tracker.ceph.com/issues/66960 Signed-off-by: chungfengz --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 89fdcaf0593..cdfff17d837 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -976,6 +976,11 @@ function test_mon_mds() ceph fs set $FS_NAME cluster_down true ceph fs set $FS_NAME cluster_down false + ceph fs set $FS_NAME max_mds 2 + ceph fs get $FS_NAME | expect_true grep -P -q 'max_mds\t2' + ceph fs set $FS_NAME down false + ceph fs get $FS_NAME | expect_true grep -P -q 'max_mds\t2' + ceph mds compat rm_incompat 4 ceph mds compat rm_incompat 4