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

morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new e8615e13296 branch-2.1: [fix](test)Fix the unstable test. #50691 
(#50760)
e8615e13296 is described below

commit e8615e132962c212b3526fd00fdf739541e50add
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jun 14 21:48:06 2025 +0800

    branch-2.1: [fix](test)Fix the unstable test. #50691 (#50760)
    
    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