diff options
| author | chenzizhan <[email protected]> | 2024-07-01 15:59:21 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-07-01 15:59:21 +0800 |
| commit | 088c83fb9febe0aa7e7dbfa03d5d797f859db21a (patch) | |
| tree | bd0c6be9e8d71599d7dc6fbd3eded4791c51ccf9 | |
| parent | d6ba5719f26993566aa9bc86af6d5ccd1e54b3f0 (diff) | |
fix cirefactor-heavykeeper
| -rw-r--r-- | test/unit_test_cells.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit_test_cells.cpp b/test/unit_test_cells.cpp index 99c189e..7bf4581 100644 --- a/test/unit_test_cells.cpp +++ b/test/unit_test_cells.cpp @@ -389,7 +389,7 @@ TEST(unit_test_tag_map, add_after_reset_and_ensure_performance_improvement) { end = clock(); clock_t time_reset_twice = end - start; - EXPECT_GT(time_reset_twice, time_reset_once); + EXPECT_GE(time_reset_twice, time_reset_once); tag_map_free(hk); for (int i = 0; i < TEST_ROUND; i++) { @@ -426,7 +426,7 @@ TEST(unit_test_heavy_keeper, add_after_reset_and_ensure_performance_improvement) end = clock(); clock_t time_reset_once = end - start; - EXPECT_GT(time_empty, time_reset_once); + EXPECT_GE(time_empty, time_reset_once); heavy_keeper_free(hk); for (int i = 0; i < TEST_ROUND; i++) { |
