summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-06-25 15:49:01 +0800
committerchenzizhan <[email protected]>2024-06-25 15:49:01 +0800
commitc554605af35c4894466a51e2764b8e9416570eb2 (patch)
tree6e8419741c72208b269c3b533f8b4ee8fdd4e3c4
parent2407d1a5bc7a0d968080926f6e4e6b3a8a10f240 (diff)
fix unit test fail caused by calculating hash more faster
-rw-r--r--test/unit_test_cell_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit_test_cell_manager.cpp b/test/unit_test_cell_manager.cpp
index a9c9190..67c1033 100644
--- a/test/unit_test_cell_manager.cpp
+++ b/test/unit_test_cell_manager.cpp
@@ -683,7 +683,7 @@ TEST(unit_test_cell_manager, add_after_reset_and_ensure_performance_improvement)
end = clock();
clock_t time_reset_twice = end - start;
- EXPECT_GT((double)time_reset_twice, (double)time_reset_once * 1.5); // * 1.5: just indicate much greater than, not exactly
+ EXPECT_GT((double)time_reset_twice, (double)time_reset_once);
cell_manager_free(cm);
for (int i = 0; i < TEST_ROUND; i++) {