This is an automated email from the ASF dual-hosted git repository.
airborne pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 635aa6c7d1d branch-3.0: [opt](test) Make the case stable #44910
(#45007)
635aa6c7d1d is described below
commit 635aa6c7d1d6bcb22f630f63cb7d31d68ae18f8d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 11 10:06:25 2024 +0800
branch-3.0: [opt](test) Make the case stable #44910 (#45007)
Cherry-picked from #44910
Co-authored-by: Sun Chenyang <[email protected]>
---
.../array_contains/test_index_compaction_dup_keys_arr.groovy | 2 +-
.../array_contains/test_index_compaction_null_arr.groovy | 2 +-
.../array_contains/test_index_compaction_unique_keys_arr.groovy | 2 +-
.../index_compaction/test_index_compaction_empty_segments.groovy | 7 ++++---
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git
a/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_dup_keys_arr.groovy
b/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_dup_keys_arr.groovy
index ba30c9f044b..c7d41e68cdd 100644
---
a/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_dup_keys_arr.groovy
+++
b/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_dup_keys_arr.groovy
@@ -17,7 +17,7 @@
import org.codehaus.groovy.runtime.IOGroovyMethods
-suite("test_index_compaction_dup_keys_array", "array_contains_inverted_index")
{
+suite("test_index_compaction_dup_keys_array", "array_contains_inverted_index,
nonConcurrent") {
// here some variable to control inverted index query
sql """ set enable_profile=true"""
sql """ set enable_pipeline_x_engine=true;"""
diff --git
a/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_null_arr.groovy
b/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_null_arr.groovy
index b33a197bd32..dfc38998c4d 100644
---
a/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_null_arr.groovy
+++
b/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_null_arr.groovy
@@ -17,7 +17,7 @@
import org.codehaus.groovy.runtime.IOGroovyMethods
-suite("test_index_compaction_null_arr", "array_contains_inverted_index") {
+suite("test_index_compaction_null_arr", "array_contains_inverted_index,
nonConcurrent") {
// here some variable to control inverted index query
sql """ set enable_profile=true"""
sql """ set enable_pipeline_x_engine=true;"""
diff --git
a/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_unique_keys_arr.groovy
b/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_unique_keys_arr.groovy
index f8bf4752a2a..19162463707 100644
---
a/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_unique_keys_arr.groovy
+++
b/regression-test/suites/inverted_index_p0/array_contains/test_index_compaction_unique_keys_arr.groovy
@@ -17,7 +17,7 @@
import org.codehaus.groovy.runtime.IOGroovyMethods
-suite("test_index_compaction_unique_keys_arr",
"array_contains_inverted_index") {
+suite("test_index_compaction_unique_keys_arr", "array_contains_inverted_index,
nonConcurrent") {
// here some variable to control inverted index query
sql """ set enable_profile=true"""
sql """ set enable_pipeline_x_engine=true;"""
diff --git
a/regression-test/suites/inverted_index_p0/index_compaction/test_index_compaction_empty_segments.groovy
b/regression-test/suites/inverted_index_p0/index_compaction/test_index_compaction_empty_segments.groovy
index 46126299bf5..1c70c9e8e50 100644
---
a/regression-test/suites/inverted_index_p0/index_compaction/test_index_compaction_empty_segments.groovy
+++
b/regression-test/suites/inverted_index_p0/index_compaction/test_index_compaction_empty_segments.groovy
@@ -19,7 +19,7 @@ import java.util.concurrent.Executors
import java.util.concurrent.TimeUnit
import org.awaitility.Awaitility
-suite("test_index_compaction_empty_segments", "p0") {
+suite("test_index_compaction_empty_segments", "p0, nonConcurrent") {
def compaction_table_name = "test_index_compaction_empty_segments"
def backendId_to_backendIP = [:]
@@ -82,8 +82,9 @@ suite("test_index_compaction_empty_segments", "p0") {
});
}
- int afterSegmentCount = 0
+
for (def tablet in tablets) {
+ int afterSegmentCount = 0
String tablet_id = tablet.TabletId
(code, out, err) = curl("GET", tablet.CompactionStatus)
logger.info("Show tablets status: code=" + code + ", out=" + out + ",
err=" + err)
@@ -94,6 +95,6 @@ suite("test_index_compaction_empty_segments", "p0") {
logger.info("rowset is: " + rowset)
afterSegmentCount += Integer.parseInt(rowset.split(" ")[1])
}
+ assertEquals(afterSegmentCount, 0)
}
- assertEquals(afterSegmentCount, 0)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]