From: Kefu Chai Date: Wed, 2 Jun 2021 09:38:49 +0000 (+0800) Subject: test/objectstore: s/TearDownTestCase/TearDownTestSuite/ X-Git-Tag: v17.1.0~1744^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f3ec742fe28b233716c4e5fd14f9492cd5ed75b0;p=ceph.git test/objectstore: s/TearDownTestCase/TearDownTestSuite/ TearDownTestCase is deprecated by GTest. let's use the new API instead. Signed-off-by: Kefu Chai --- diff --git a/src/test/objectstore/Allocator_aging_fragmentation.cc b/src/test/objectstore/Allocator_aging_fragmentation.cc index 90d42e9f075..78a0047a35d 100755 --- a/src/test/objectstore/Allocator_aging_fragmentation.cc +++ b/src/test/objectstore/Allocator_aging_fragmentation.cc @@ -96,7 +96,7 @@ public: void do_free(uint64_t low_mark); uint32_t free_random(); - static void TearDownTestCase(); + static void TearDownTestSuite(); }; struct test_result { @@ -299,7 +299,8 @@ void AllocTest::doAgingTest( r.frag_score += frag_score; } -void AllocTest::TearDownTestCase() { +void AllocTest::TearDownTestSuite() +{ std::cout << "Summary: " << std::endl; for (auto& r: results_per_allocator) { std::cout << r.first <<