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

gavinchou 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 cdfe4e12999 [Fix](case) Fix show data p2 cases (#55449)
cdfe4e12999 is described below

commit cdfe4e12999d4ce84c734f36cc14f59cfa6cb189
Author: abmdocrt <[email protected]>
AuthorDate: Fri Aug 29 20:18:04 2025 +0800

    [Fix](case) Fix show data p2 cases (#55449)
---
 .../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]

Reply via email to