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

morningman 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 3d6aaab81a2 [fix](test)Fix the unstable test. (#50691)
3d6aaab81a2 is described below

commit 3d6aaab81a270dcf080ba16f005d958153a90c9f
Author: wuwenchi <wuwen...@selectdb.com>
AuthorDate: Fri May 9 17:00:03 2025 +0800

    [fix](test)Fix the unstable test. (#50691)
    
    ### What problem does this PR solve?
    
    Problem Summary:
    
    Don't delete the library to prevent the problem of not being able to
    find the library.
---
 .../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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to