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: v18.2.5~139^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e1ee9a0d0ba03fe5de7f471531dc8d2944864b83;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 (cherry picked from commit f8becaaedb206e7b683698aac296b48e646e44b9) --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index aecfd56a9f53..651ac499e689 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -913,6 +913,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