]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: comment out unstable tiering tests 4337/head 4378/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 10 Apr 2015 18:00:13 +0000 (20:00 +0200)
committerLoic Dachary <ldachary@redhat.com>
Thu, 16 Apr 2015 16:02:23 +0000 (18:02 +0200)
So that make check does not randomly fails.

http://tracker.ceph.com/issues/11359 Refs: #11359

Signed-off-by: Loic Dachary <ldachary@redhat.com>
qa/workunits/cephtool/test.sh

index c596362f332aecc8526f5587a5944b5627fca1b1..4a2e90ea0fc50701988fa1f084e1ad1b3cbe7cc7 100755 (executable)
@@ -359,31 +359,33 @@ function test_tiering()
   ceph osd pool delete cachepool cachepool --yes-i-really-really-mean-it
   ceph osd pool delete datapool datapool --yes-i-really-really-mean-it
 
-  # check health check
-  ceph osd pool create datapool 2
-  ceph osd pool create cache4 2
-  ceph osd tier add-cache datapool cache4 1024000
-  ceph osd tier cache-mode cache4 writeback
-  tmpfile=$(mktemp|grep tmp)
-  dd if=/dev/zero of=$tmpfile  bs=4K count=1
-  ceph osd pool set cache4 target_max_objects 5
-  #4096 * 5 = 20480, 20480 near/at 21000,
-  ceph osd pool set cache4 target_max_bytes 21000
-  for f in `seq 1 5` ; do
-    rados -p cache4 put foo$f $tmpfile
-  done
-  rm -f $tmpfile
-  while ! ceph df | grep cache4 | grep ' 5 ' ; do
-    echo waiting for pg stats to flush
-    sleep 2
-  done
-  ceph health | grep WARN | grep cache4
-  ceph health detail | grep cache4 | grep 'target max' | grep objects
-  ceph health detail | grep cache4 | grep 'target max' | grep 'B'
-  ceph osd tier remove-overlay datapool
-  ceph osd tier remove datapool cache4
-  ceph osd pool delete cache4 cache4 --yes-i-really-really-mean-it
-  ceph osd pool delete datapool datapool --yes-i-really-really-mean-it
+  # commented out pending http://tracker.ceph.com/issues/11359
+  ## check health check
+  # ceph osd pool create datapool 2
+  # ceph osd pool create cache4 2
+  # ceph osd tier add-cache datapool cache4 1024000
+  # ceph osd tier cache-mode cache4 writeback
+  # tmpfile=$(mktemp|grep tmp)
+  # dd if=/dev/zero of=$tmpfile  bs=4K count=1
+  # ceph osd pool set cache4 target_max_objects 5
+  # #4096 * 5 = 20480, 20480 near/at 21000,
+  # ceph osd pool set cache4 target_max_bytes 21000
+  # for f in `seq 1 5` ; do
+  #   rados -p cache4 put foo$f $tmpfile
+  # done
+  # rm -f $tmpfile
+  # while ! ceph df | grep cache4 | grep ' 5 ' ; do
+  #   echo waiting for pg stats to flush
+  #   sleep 2
+  # done
+  # ceph health | grep WARN | grep cache4
+  # ceph health detail | grep cache4 | grep 'target max' | grep objects
+  # ceph health detail | grep cache4 | grep 'target max' | grep 'B'
+  # ceph osd tier remove-overlay datapool
+  # ceph osd tier remove datapool cache4
+  # ceph osd pool delete cache4 cache4 --yes-i-really-really-mean-it
+  # ceph osd pool delete datapool datapool --yes-i-really-really-mean-it
+
 
   # make sure 'tier remove' behaves as we expect
   # i.e., removing a tier from a pool that's not its base pool only