This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 66f1001b1e1 branch-3.0: [Fix](case) Fix show data p2 cases #55449
(#55492)
66f1001b1e1 is described below
commit 66f1001b1e16e82772698b934a91cb6af3c8f9c2
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Sep 1 09:54:38 2025 +0800
branch-3.0: [Fix](case) Fix show data p2 cases #55449 (#55492)
Cherry-picked from #55449
Co-authored-by: abmdocrt <[email protected]>
---
.../test_cloud_drop_and_recover_partition_show_data.groovy | 4 ++++
.../test_table_operation/test_cloud_drop_table_show_data.groovy | 2 ++
2 files changed, 6 insertions(+)
diff --git
a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy
b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy
index b067ad5d9ad..9534066b899 100644
---
a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy
+++
b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy
@@ -162,6 +162,8 @@
suite("test_cloud_drop_and_recover_partition_show_data","p2, nonConcurrent") {
assertEquals(sizeRecords["apiSize"][0], sizeRecords["apiSize"][1])
assertEquals(sizeRecords["cbsSize"][0], sizeRecords["cbsSize"][1])
+ sql """admin set frontend config ("catalog_trash_expire_second" =
"30")"""
+
if (op == 1){
sql """alter table ${tableName} drop partition p1;"""
} else if(op == 2){
@@ -192,6 +194,8 @@
suite("test_cloud_drop_and_recover_partition_show_data","p2, nonConcurrent") {
} else if(op == 2){
sql """recover partition p19920101000000 from ${tableName};"""
}
+
+ sql """admin set frontend config ("catalog_trash_expire_second" =
"1")"""
// after drop partition,tablets will changed,need get new tablets
tablets = get_tablets_from_table(tableName)
diff --git
a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy
b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy
index e80deb85834..8eb20b916fb 100644
---
a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy
+++
b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy
@@ -91,11 +91,13 @@ suite("test_cloud_drop_and_show_data","p2, nonConcurrent") {
if(op == 1){
+ sql """admin set frontend config ("catalog_trash_expire_second" =
"30")"""
sql """drop table ${tableName}"""
sleep(10 * 1000)
sql """recover table ${tableName}"""
+ sql """admin set frontend config ("catalog_trash_expire_second" =
"1")"""
// 加一下触发compaction的机制
trigger_compaction(tablets)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]