]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix OnodeSizeTracking testing 12684/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 27 Dec 2016 11:39:51 +0000 (19:39 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 28 Dec 2016 01:56:04 +0000 (09:56 +0800)
commit1d97862f716ce24bfe227b192ecc5e1eb3f76757
treea4987f62ac3e8d0624e02abd855d70b5f18506c3
parent11c30a86fc6ffeb8d2362d58614434244936e4ba
os/bluestore: fix OnodeSizeTracking testing

[  FAILED  ] 1 test, listed below:
[  FAILED  ] ObjectStore/StoreTest.OnodeSizeTracking/2, where GetParam() = "bluestore"

 1 FAILED TEST

The above test failure happens as the bluestore mount() process
will try to load all collections and put them into the coll_map,
which will be also tracked as mempool::bluestore_meta_other.
So total_bytes from mempool won't be equal to zero.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/test/objectstore/store_test.cc