]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: no agent when testing tiering agent border case
authorLoic Dachary <ldachary@redhat.com>
Wed, 13 May 2015 07:26:46 +0000 (09:26 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 13 May 2015 07:28:06 +0000 (09:28 +0200)
On a machine slow enough, the tiering agent can be activated while
testing border cases where the cache is almost full. Prevent that
by deactivating the tiering agent.

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

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

index f1beb0f7426bb02c55ed8b017e1f1b70d5573878..435a69cf85bea735f34e2da9108d99cced2e6b8d 100755 (executable)
@@ -357,6 +357,7 @@ function test_tiering()
   ceph osd pool delete datapool datapool --yes-i-really-really-mean-it
 
   ## check health check
+  ceph osd set notieragent
   ceph osd pool create datapool 2
   ceph osd pool create cache4 2
   ceph osd tier add-cache datapool cache4 1024000
@@ -381,6 +382,7 @@ function test_tiering()
   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
+  ceph osd unset notieragent
 
 
   # make sure 'tier remove' behaves as we expect