You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2024/02/22 03:54:30 UTC

(doris) branch master updated: [fix](invert index) fix the error issue in the unit test remove_element_only_in_table (#31238)

This is an automated email from the ASF dual-hosted git repository.

jianliangqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 54db467349a [fix](invert index) fix the error issue in the unit test remove_element_only_in_table (#31238)
54db467349a is described below

commit 54db467349a085076dbaa82dc3b5e634b48b60a6
Author: zzzxl <33...@users.noreply.github.com>
AuthorDate: Thu Feb 22 11:54:21 2024 +0800

    [fix](invert index) fix the error issue in the unit test remove_element_only_in_table (#31238)
---
 be/test/olap/rowset/segment_v2/inverted_index_searcher_cache_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/test/olap/rowset/segment_v2/inverted_index_searcher_cache_test.cpp b/be/test/olap/rowset/segment_v2/inverted_index_searcher_cache_test.cpp
index b11aa1fc78a..8475d85939c 100644
--- a/be/test/olap/rowset/segment_v2/inverted_index_searcher_cache_test.cpp
+++ b/be/test/olap/rowset/segment_v2/inverted_index_searcher_cache_test.cpp
@@ -324,7 +324,7 @@ TEST_F(InvertedIndexSearcherCacheTest, remove_element_only_in_table) {
         EXPECT_TRUE(status);
 
         auto cache_value_use_cache = inverted_index_cache_handle.get_index_cache_value();
-        EXPECT_LE(UnixMillis(), cache_value_use_cache->last_visit_time);
+        EXPECT_GE(UnixMillis(), cache_value_use_cache->last_visit_time);
     }
 
     delete index_searcher_cache;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org