]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
unittest_bluestore_types: fix Collection using tests
authorSage Weil <sage@redhat.com>
Thu, 16 Mar 2017 20:33:53 +0000 (16:33 -0400)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:30 +0000 (13:56 -0500)
commitd93d6d09687ccc271a3c9ef8248801a505c2c667
treec28ad928d85018a69e7e5caba67ce2245bfd550c
parent4de29d0f14c30f1aeac0e9f0c70794c220b5cc4e
unittest_bluestore_types: fix Collection using tests

We can't use a bare Collection since we get/put refs, the last put will
delete it, and the dtor asserts nref == 0 (no faking a ref and deliberately
leaking!).

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/test_bluestore_types.cc