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 1a8a1b1e8f7 [opt](test) add more debug info in 
test_jdbc_catalog_ddl.groovy (#46322)
1a8a1b1e8f7 is described below

commit 1a8a1b1e8f704ca7e561d180ac11092cfac32422
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Fri Jan 3 12:33:44 2025 +0800

    [opt](test) add more debug info in test_jdbc_catalog_ddl.groovy (#46322)
    
    ### What problem does this PR solve?
    
    Try to find out error:
    
    ```
    org.opentest4j.AssertionFailedError: Not contains db: `mysql` in mysql 
catalog ==> expected: <true> but was: <false>
    ```
---
 .../suites/external_table_p0/jdbc/test_jdbc_catalog_ddl.groovy           | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/regression-test/suites/external_table_p0/jdbc/test_jdbc_catalog_ddl.groovy 
b/regression-test/suites/external_table_p0/jdbc/test_jdbc_catalog_ddl.groovy
index c6c73aa6325..3735fe53053 100644
--- a/regression-test/suites/external_table_p0/jdbc/test_jdbc_catalog_ddl.groovy
+++ b/regression-test/suites/external_table_p0/jdbc/test_jdbc_catalog_ddl.groovy
@@ -39,6 +39,7 @@ suite("test_jdbc_catalog_ddl", 
"p0,external,mysql,external_docker,external_docke
                 "use_meta_cache" = "${useMetaCache}"
             );"""
             def res = sql(""" show databases from ${catalog_name}; 
""").collect {x -> x[0] as String}
+            println("show databases result " + res);
             def containedDb = ['mysql', 'doris_test', 'information_schema']
             for (final def db in containedDb) {
                 assertTrue(res.contains(db), 'Not contains db: `' + db + '` in 
mysql catalog')


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

Reply via email to