Skip to content

Commit f8becaa

Browse files
test: add a test for fs set down on online cluster
Fixes: https://tracker.ceph.com/issues/66960 Signed-off-by: chungfengz <[email protected]>
1 parent 6bfce64 commit f8becaa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

qa/workunits/cephtool/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,11 @@ function test_mon_mds()
976976
ceph fs set $FS_NAME cluster_down true
977977
ceph fs set $FS_NAME cluster_down false
978978

979+
ceph fs set $FS_NAME max_mds 2
980+
ceph fs get $FS_NAME | expect_true grep -P -q 'max_mds\t2'
981+
ceph fs set $FS_NAME down false
982+
ceph fs get $FS_NAME | expect_true grep -P -q 'max_mds\t2'
983+
979984
ceph mds compat rm_incompat 4
980985
ceph mds compat rm_incompat 4
981986

0 commit comments

Comments
 (0)