]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: change the test_tiering test case accordingly for proxy write
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Wed, 17 Jun 2015 04:26:36 +0000 (12:26 +0800)
committerSamuel Just <sjust@redhat.com>
Tue, 18 Aug 2015 18:25:24 +0000 (11:25 -0700)
When an object is first created, it's proxied to base tier, need to
change the behavior of the test_tiering test case accordingly.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
qa/workunits/cephtool/test.sh

index f84031aa44f07e57775f51b0c8261b858f316f63..a6eaacaf9592257fd600ab5ea08a0a8b003e077b 100755 (executable)
@@ -370,14 +370,7 @@ function test_tiering()
   rados -p cache4 put foo2 $tmpfile
   rm -f $tmpfile
   ceph tell osd.\* flush_pg_stats || true
-  ceph df | grep cache4 | grep ' 2 '
-  local max_objects=1
-  ceph osd pool set cache4 target_max_objects $max_objects
-  local max_bytes=1024
-  ceph osd pool set cache4 target_max_bytes $max_bytes
-  ceph health | grep WARN | grep cache4
-  ceph health detail | grep cache4 | grep 'target max' | grep "${max_objects} objects"
-  ceph health detail | grep cache4 | grep 'target max' | grep "${max_bytes}B"
+  ceph df | grep datapool | grep ' 2 '
   ceph osd tier remove-overlay datapool
   ceph osd tier remove datapool cache4
   ceph osd pool delete cache4 cache4 --yes-i-really-really-mean-it