From: Igor Fedotov Date: Fri, 16 Dec 2016 16:14:54 +0000 (+0000) Subject: test: add mempool dump to Onode size tracking test case X-Git-Tag: v11.1.1~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1b66857702208d1867370102b3317f3f3cc8ebd5;p=ceph.git test: add mempool dump to Onode size tracking test case Signed-off-by: Igor Fedotov --- diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index e5aa0e56962..9c149ec6ebf 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -5631,6 +5631,16 @@ TEST_P(StoreTest, OnodeSizeTracking) { ASSERT_NE(total_bytes2, 0u); ASSERT_EQ(total_onodes, 1u); } + { + cout <<" mempool dump:\n"; + JSONFormatter f(true); + f.open_object_section("transaction"); + mempool::dump(&f); + f.close_section(); + f.flush(cout); + cout << std::endl; + } + { ObjectStore::Transaction t; t.remove(cid, hoid);