From: Loic Dachary Date: Thu, 26 Dec 2013 07:39:52 +0000 (+0100) Subject: qa: remove osd pool create erasure tests X-Git-Tag: v0.75~31^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5cf2cdc073b4e8ac6e9e3bb6e572e9b38765d007;p=ceph.git qa: remove osd pool create erasure tests Creating an erasure pool will crash the OSD because OSD::_make_pg asserts if the type is not replicated. The tests related to erasure coded pool creation are removed from qa/workunits/cephtool/test.sh. The osd-create-pool.sh unit test covers the cases removed from test.sh more extensively. The intent is to check the interactions with the MON only, therefore it does not run an OSD and the absence of erasure code placement group backend implementation is not an issue. Signed-off-by: Loic Dachary --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index d0c36fb9259f..49219aad1183 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -271,20 +271,13 @@ ceph osd pool rename data2 data3 ceph osd lspools | grep data3 ceph osd pool delete data3 data3 --yes-i-really-really-mean-it -ceph osd pool create erasurecodes 12 12 erasure -ceph osd pool create erasurecodes 12 12 erasure -# should fail because the default type is replicated and -# the pool is of type erasure -expect_false ceph osd pool create erasurecodes 12 12 ceph osd pool create replicated 12 12 replicated ceph osd pool create replicated 12 12 replicated ceph osd pool create replicated 12 12 # default is replicated ceph osd pool create replicated 12 # default is replicated, pgp_num = pg_num # should fail because the type is not the same expect_false ceph osd pool create replicated 12 12 erasure -ceph osd lspools | grep erasurecodes ceph osd lspools | grep replicated -ceph osd pool delete erasurecodes erasurecodes --yes-i-really-really-mean-it ceph osd pool delete replicated replicated --yes-i-really-really-mean-it ceph osd stat | grep up,