]> 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)
committerSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 23:58:37 +0000 (16:58 -0700)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
(cherry picked from commit df5944955d96c041e65964a13b802028e9700904)

qa/workunits/cephtool/test.sh

index 8c55bc07e594c29fa859ea55b02ab5f8a96f7ddf..c3888e9218f530ebba65cc3a6e3cfe5119c421de 100755 (executable)
@@ -659,6 +659,11 @@ function test_mon_osd_pool_set()
   expect_false ceph osd pool set data hashpspool asdf
   expect_false ceph osd pool set data hashpspool 2
 
+  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
@@ -698,8 +703,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()