Remove unneeded logging in tests.

This commit is contained in:
levlam 2021-10-07 16:56:45 +03:00
parent 328c5b57d2
commit f5fe132722
2 changed files with 2 additions and 2 deletions

View File

@ -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<int>(ebmr.to_delete_size_unsafe()) <= threads_n * threads_n);
for (int i = 0; i < threads_n; i++) {
ebmr.get_locker(i).retire_sync();

View File

@ -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<int>(hazard_pointers.to_delete_size_unsafe()) <= threads_n * threads_n);
for (int i = 0; i < threads_n; i++) {
hazard_pointers.retire(i);