mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
test: add mempool dump to Onode size tracking test case
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
This commit is contained in:
parent
9a7838790b
commit
1b66857702
@ -5631,6 +5631,16 @@ TEST_P(StoreTest, OnodeSizeTracking) {
|
|||||||
ASSERT_NE(total_bytes2, 0u);
|
ASSERT_NE(total_bytes2, 0u);
|
||||||
ASSERT_EQ(total_onodes, 1u);
|
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;
|
ObjectStore::Transaction t;
|
||||||
t.remove(cid, hoid);
|
t.remove(cid, hoid);
|
||||||
|
Loading…
Reference in New Issue
Block a user