]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: cephtool: split get/set on tier pools from get/set tests
authorJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 3 Jul 2014 14:24:51 +0000 (15:24 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 10 Jul 2014 23:17:47 +0000 (00:17 +0100)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
qa/workunits/cephtool/test.sh

index 80d1d3ea0a082b8ea8bf173c63a69dab32658e35..ff4aedc63e3549a0f0530536bd4103ec010d87e5 100755 (executable)
@@ -710,6 +710,11 @@ function test_mon_osd_pool_set()
 
   ceph osd pool delete $TEST_POOL_GETSET $TEST_POOL_GETSET --yes-i-really-really-mean-it
 
+  ceph osd pool get rbd crush_ruleset | grep 'crush_ruleset: 0'
+}
+
+function test_mon_osd_tiered_pool_set()
+{
   ceph osd pool set rbd hit_set_type explicit_hash
   ceph osd pool get rbd hit_set_type | grep "hit_set_type: explicit_hash"
   ceph osd pool set rbd hit_set_type explicit_object
@@ -749,8 +754,6 @@ function test_mon_osd_pool_set()
   ceph osd pool get rbd cache_min_evict_age | \
     grep 'cache_min_evict_age:[ \t]\+234'
 
-
-  ceph osd pool get rbd crush_ruleset | grep 'crush_ruleset: 0'
 }
 
 function test_mon_osd_erasure_code()