]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1016] fixed compilation
authorRazvan Becheriu <razvan@isc.org>
Fri, 6 Mar 2020 21:17:04 +0000 (23:17 +0200)
committerRazvan Becheriu <razvan@isc.org>
Fri, 6 Mar 2020 21:17:04 +0000 (23:17 +0200)
src/lib/util/tests/multi_threading_mgr_unittest.cc

index 341d21f67c1130284a3266687b9c3c99d3c3377d..4e2846e9e759f5fcf59261da37bed833a17d4ebf 100644 (file)
@@ -103,7 +103,7 @@ TEST(MultiThreadingMgrTest, applyConfig) {
 }
 
 /// @brief Verifies that the critical section flag works.
-TEST(MultiThreadingMgrTest, criticalSection) {
+TEST(MultiThreadingMgrTest, criticalSectionFlag) {
     // get the thread pool
     auto& thread_pool = MultiThreadingMgr::instance().getPktThreadPool();
     // MT should be disabled
@@ -148,9 +148,10 @@ TEST(MultiThreadingMgrTest, criticalSection) {
     EXPECT_EQ(thread_pool.size(), 0);
 }
 
+/// @brief Verifies that the critical section works.
 TEST(MultiThreadingMgrTest, criticalSection) {
     // get the thread pool instance
-    auto & thread_pool = MultiThreadingMgr::instance().getPktThreadPool();
+    auto& thread_pool = MultiThreadingMgr::instance().getPktThreadPool();
     // thread pool should be stopped
     EXPECT_EQ(thread_pool.size(), 0);
     // apply multi-threading configuration with 16 threads