This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new ce0fcb57fd0 [fix](case) Add sync to test case (#29033)
ce0fcb57fd0 is described below
commit ce0fcb57fd0d9d5dbf6af7e185b25271d0c205db
Author: zzzxl <[email protected]>
AuthorDate: Wed Dec 27 14:20:36 2023 +0800
[fix](case) Add sync to test case (#29033)
---
regression-test/suites/inverted_index_p0/test_count_on_index_2.groovy | 2 ++
.../suites/inverted_index_p0/test_index_match_phrase_prefix.groovy | 2 ++
regression-test/suites/inverted_index_p0/test_index_match_regexp.groovy | 2 ++
3 files changed, 6 insertions(+)
diff --git
a/regression-test/suites/inverted_index_p0/test_count_on_index_2.groovy
b/regression-test/suites/inverted_index_p0/test_count_on_index_2.groovy
index 6866c81f964..851c9120aa2 100644
--- a/regression-test/suites/inverted_index_p0/test_count_on_index_2.groovy
+++ b/regression-test/suites/inverted_index_p0/test_count_on_index_2.groovy
@@ -152,6 +152,8 @@ suite("test_count_on_index_2", "p0"){
load_httplogs_data.call(indexTbName1, indexTbName1, 'true', 'json',
'documents-1000.json')
load_httplogs_data.call(indexTbName2, indexTbName2, 'true', 'json',
'documents-1000.json')
+ sql 'sync'
+
qt_sql """ select count() from ${indexTbName1} where `@timestamp` >=
893964736 and `@timestamp` <= 893966453; """
qt_sql """ select count() from ${indexTbName2} where `@timestamp` >=
893964736 and `@timestamp` <= 893966453; """
diff --git
a/regression-test/suites/inverted_index_p0/test_index_match_phrase_prefix.groovy
b/regression-test/suites/inverted_index_p0/test_index_match_phrase_prefix.groovy
index b23bc1b5a8b..fef9aa0bcb4 100644
---
a/regression-test/suites/inverted_index_p0/test_index_match_phrase_prefix.groovy
+++
b/regression-test/suites/inverted_index_p0/test_index_match_phrase_prefix.groovy
@@ -78,6 +78,8 @@ suite("test_index_match_phrase_prefix", "p0"){
try {
load_httplogs_data.call(indexTbName1,
'test_index_match_phrase_prefix', 'true', 'json', 'documents-1000.json')
+ sql 'sync'
+
qt_sql """ select count() from test_index_match_phrase_prefix where
request match_phrase_prefix 'ima'; """
qt_sql """ select count() from test_index_match_phrase_prefix where
request like '%ima%'; """
diff --git
a/regression-test/suites/inverted_index_p0/test_index_match_regexp.groovy
b/regression-test/suites/inverted_index_p0/test_index_match_regexp.groovy
index 4c1ee1a5b0b..49156c22370 100644
--- a/regression-test/suites/inverted_index_p0/test_index_match_regexp.groovy
+++ b/regression-test/suites/inverted_index_p0/test_index_match_regexp.groovy
@@ -78,6 +78,8 @@ suite("test_index_match_regexp", "p0"){
try {
load_httplogs_data.call(indexTbName1, 'test_index_match_regexp',
'true', 'json', 'documents-1000.json')
+ sql 'sync'
+
qt_sql """ select count() from test_index_match_regexp where request
match_regexp '^h'; """
qt_sql """ select count() from test_index_match_regexp where request
match_regexp '^team'; """
qt_sql """ select count() from test_index_match_regexp where request
match_regexp 's\$'; """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]