]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: destroy testprofile before creating one
authorLoic Dachary <ldachary@redhat.com>
Mon, 2 Nov 2015 19:24:51 +0000 (20:24 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 7 Dec 2015 08:25:08 +0000 (09:25 +0100)
commit26adf7a3536d7fe5b3a04866e37a4e6afac08509
tree5f01eba53da97439678af21866db91b880592b23
parentc3619f4c1ba16e3d0959c78865ee4218e911da39
tests: destroy testprofile before creating one

The testprofile erasure code profile is destroyed before creating a new
one so that it does not fail when another testprofile erasure code
profile already exists with different parameters.

This must be done when creating erasure coded pools with the C++
interface, in the same way it's done with the C interface.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit 47abab9a6f182aa0abe5047c04402850379bcd6d)
src/test/librados/test.cc