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 5ee79c41d14 branch-3.0: [fix](test)Fix the unstable test. #50691 
(#50759)
5ee79c41d14 is described below

commit 5ee79c41d141aa7bc44f39fac2b8d555e6c94322
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed May 14 12:13:43 2025 +0800

    branch-3.0: [fix](test)Fix the unstable test. #50691 (#50759)
    
    Cherry-picked from #50691
    
    Co-authored-by: wuwenchi <[email protected]>
---
 .../test_iceberg_insert_overwrite_with_empty_table.groovy      | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git 
a/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_insert_overwrite_with_empty_table.groovy
 
b/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_insert_overwrite_with_empty_table.groovy
index 84c0f287abf..b1ead66b70f 100644
--- 
a/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_insert_overwrite_with_empty_table.groovy
+++ 
b/regression-test/suites/external_table_p0/iceberg/write/test_iceberg_insert_overwrite_with_empty_table.groovy
@@ -48,9 +48,9 @@ suite("test_iceberg_insert_overwrite_with_empty_table", 
"p0,external,doris,exter
 
     sql """ drop table if exists ${db1}.${tb1} """
     sql """ drop table if exists ${db1}.${tb2} """
-    sql """ drop database if exists ${db1} """
+    sql """ drop table if exists ${db1}.${tb3} """
 
-    sql """ create database ${db1} """
+    sql """ create database if not exists ${db1} """
     sql """ create table ${db1}.${tb1} (id int, val int) partition by list 
(val)() """
     sql """ create table ${db1}.${tb2} (id int, val int) """
     sql """ create table ${db1}.${tb3} (id int, val int) """
@@ -68,10 +68,4 @@ suite("test_iceberg_insert_overwrite_with_empty_table", 
"p0,external,doris,exter
     order_qt_q2 """ select * from ${tb1} """   // should have 3 records
     order_qt_q3 """ select * from ${tb2} """   // should have no records
 
-    sql """ drop table ${db1}.${tb1} """
-    sql """ drop table ${db1}.${tb2} """
-    sql """ drop table ${db1}.${tb3} """
-    sql """ drop database ${db1} """
-    sql """ drop catalog ${catalog_name} """
-
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to