From: Sage Weil Date: Tue, 19 Aug 2014 03:57:28 +0000 (-0700) Subject: qa/workunits/cephtool/test.sh: test reweight-by-pg X-Git-Tag: v0.86~244^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=977f85279fa80f64fb3ef8b99413fa412ff7f4ec;p=ceph.git qa/workunits/cephtool/test.sh: test reweight-by-pg Signed-off-by: Sage Weil --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index c70d2bb587ef..80bf76c65b38 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -892,7 +892,13 @@ function test_mon_osd_misc() # expect "not in range" for invalid overload percentage ceph osd reweight-by-utilization 80 2>$TMPFILE; check_response 'not in range' $? 22 + set -e + + ceph osd reweight-by-utilization 110 + ceph osd reweight-by-pg 110 + ceph osd reweight-by-pg 110 rbd + expect_false ceph osd reweight-by-pg 110 boguspoolasdfasdfasdf } function test_mon_heap_profiler()