From: Loic Dachary Date: Sun, 31 May 2015 13:15:30 +0000 (+0200) Subject: tests: reduce pg_num in test_mon_osd_pool_set X-Git-Tag: v9.0.2~70^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f6e400058998e41317f97af3992ffb7b9866ce47;p=ceph.git tests: reduce pg_num in test_mon_osd_pool_set No need for more than one pg to test get/set on pools: it also is faster to become clean. Signed-off-by: Loic Dachary --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 09c11fd513b..b11a217dc82 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1255,7 +1255,7 @@ function test_mon_pg() function test_mon_osd_pool_set() { TEST_POOL_GETSET=pool_getset - ceph osd pool create $TEST_POOL_GETSET 10 + ceph osd pool create $TEST_POOL_GETSET 1 ceph osd pool get $TEST_POOL_GETSET all for s in pg_num pgp_num size min_size crash_replay_interval crush_ruleset; do @@ -1268,7 +1268,7 @@ function test_mon_osd_pool_set() ceph osd pool get $TEST_POOL_GETSET size | grep "size: $new_size" ceph osd pool set $TEST_POOL_GETSET size $old_size - ceph osd pool create pool_erasure 12 12 erasure + ceph osd pool create pool_erasure 1 1 erasure set +e ceph osd pool set pool_erasure size 4444 2>$TMPFILE check_response 'not change the size'