From f5fe13272225bc8eeb115ec2b1cad39425d0d78a Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 7 Oct 2021 16:56:45 +0300 Subject: [PATCH] Remove unneeded logging in tests. --- tdutils/test/EpochBasedMemoryReclamation.cpp | 2 +- tdutils/test/HazardPointers.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tdutils/test/EpochBasedMemoryReclamation.cpp b/tdutils/test/EpochBasedMemoryReclamation.cpp index d9bf3c322..66131545e 100644 --- a/tdutils/test/EpochBasedMemoryReclamation.cpp +++ b/tdutils/test/EpochBasedMemoryReclamation.cpp @@ -58,7 +58,7 @@ TEST(EpochBaseMemoryReclamation, stress) { for (auto &thread : threads) { thread.join(); } - LOG(ERROR) << "Undeleted pointers: " << ebmr.to_delete_size_unsafe(); + LOG(INFO) << "Undeleted pointers: " << ebmr.to_delete_size_unsafe(); //CHECK(static_cast(ebmr.to_delete_size_unsafe()) <= threads_n * threads_n); for (int i = 0; i < threads_n; i++) { ebmr.get_locker(i).retire_sync(); diff --git a/tdutils/test/HazardPointers.cpp b/tdutils/test/HazardPointers.cpp index a23e18fb4..9b6b9a81e 100644 --- a/tdutils/test/HazardPointers.cpp +++ b/tdutils/test/HazardPointers.cpp @@ -50,7 +50,7 @@ TEST(HazardPointers, stress) { for (auto &thread : threads) { thread.join(); } - LOG(ERROR) << "Undeleted pointers: " << hazard_pointers.to_delete_size_unsafe(); + LOG(INFO) << "Undeleted pointers: " << hazard_pointers.to_delete_size_unsafe(); CHECK(static_cast(hazard_pointers.to_delete_size_unsafe()) <= threads_n * threads_n); for (int i = 0; i < threads_n; i++) { hazard_pointers.retire(i);