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 af38c2be6c6 [fix](test) fix unstable test_query_sys_tables (#50593)
af38c2be6c6 is described below

commit af38c2be6c6935f188231149d1072b1a9b959ef2
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Wed May 7 11:04:35 2025 +0800

    [fix](test) fix unstable test_query_sys_tables (#50593)
    
    should drop database before creating it.
---
 .../suites/query_p0/system/test_query_sys_tables.groovy      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/regression-test/suites/query_p0/system/test_query_sys_tables.groovy 
b/regression-test/suites/query_p0/system/test_query_sys_tables.groovy
index 2e1826b4eaa..6dc8888921d 100644
--- a/regression-test/suites/query_p0/system/test_query_sys_tables.groovy
+++ b/regression-test/suites/query_p0/system/test_query_sys_tables.groovy
@@ -153,13 +153,13 @@ suite("test_query_sys_tables", "query,p0") {
 
     // test tables
     // create test dbs
-    sql("CREATE DATABASE IF NOT EXISTS ${dbName1}")
-    sql("CREATE DATABASE IF NOT EXISTS ${dbName2}")
-    sql("CREATE DATABASE IF NOT EXISTS ${dbName3}")
+    sql("DROP DATABASE IF EXISTS ${dbName1}")
+    sql("DROP DATABASE IF EXISTS ${dbName2}")
+    sql("DROP DATABASE IF EXISTS ${dbName3}")
     // create test tbs
-    sql("CREATE DATABASE IF NOT EXISTS ${dbName1}")
-    sql("CREATE DATABASE IF NOT EXISTS ${dbName2}")
-    sql("CREATE DATABASE IF NOT EXISTS ${dbName3}")
+    sql("CREATE DATABASE ${dbName1}")
+    sql("CREATE DATABASE ${dbName2}")
+    sql("CREATE DATABASE ${dbName3}")
     // create test tbs
     sql("use ${dbName1}")
     sql """


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

Reply via email to