From: Loic Dachary Date: Wed, 13 May 2015 07:26:46 +0000 (+0200) Subject: tests: no agent when testing tiering agent border case X-Git-Tag: v9.0.2~149^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5f252d613587cb3ef6ad5c1dc2f913911eb8a95c;p=ceph.git tests: no agent when testing tiering agent border case 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 --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index f1beb0f7426..435a69cf85b 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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