]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: fix the plugin_exists() 4859/head
authorKefu Chai <kchai@redhat.com>
Thu, 4 Jun 2015 09:45:09 +0000 (17:45 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 4 Jun 2015 09:51:58 +0000 (17:51 +0800)
commit6bd425b025c8841f2c53b0bfd64fd8d4123a22de
tree4f48a50f6f15d3defd778b91b92e5f7278c4ccfa
parent1957c88c817f532716515053ed4e105e6cf324cb
test: fix the plugin_exists()

in 8e61a99, we try to init the plugin when user set a profile using
"ceph osd erasure-code-profile set <profile-name> <profile>", so
if user passes in an unknown plugin, ceph will reject it right away,
instead of loading the plugin when "ceph osd crush rule create-erasure".

Fixes: #11870
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/erasure-code/test-erasure-code.sh