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: v19.2.3~451^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d86b474f55cd51c706e8fba80cfafe68e923653f;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 d00e9b04b0a7..ed652b9f74bf 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