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

yiguolei 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 2ac0f147ade branch-2.1: [regression-test](framework)fix master_sql 
action bug in framwork #46874 (#46877)
2ac0f147ade is described below

commit 2ac0f147aded12b3a32058b75a060427027e3eb2
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 13 12:54:36 2025 +0800

    branch-2.1: [regression-test](framework)fix master_sql action bug in 
framwork #46874 (#46877)
    
    Cherry-picked from #46874
    
    Co-authored-by: shuke <sh...@selectdb.com>
---
 .../src/main/groovy/org/apache/doris/regression/suite/Suite.groovy    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
 
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
index 89bf5a4eba0..b04cb117e01 100644
--- 
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
+++ 
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
@@ -1138,6 +1138,8 @@ class Suite implements GroovyInterceptable {
                     tupleResult = 
JdbcUtils.executeToStringList(context.getArrowFlightSqlConnection(), 
(PreparedStatement) arg)
                 } else if (tag.contains("target_sql")) {
                     tupleResult = 
JdbcUtils.executeToStringList(context.getTargetConnection(this), 
(PreparedStatement) arg)
+                } else if (tag.contains("master_sql")) {
+                    tupleResult = 
JdbcUtils.executeToStringList(context.getMasterConnection(), 
(PreparedStatement) arg)
                 } else {
                     tupleResult = 
JdbcUtils.executeToStringList(context.getConnection(),  (PreparedStatement) arg)
                 }
@@ -1151,6 +1153,8 @@ class Suite implements GroovyInterceptable {
                             (String) ("USE ${context.dbName};" + (String) arg))
                 } else if (tag.contains("target_sql")) {
                     tupleResult = 
JdbcUtils.executeToStringList(context.getTargetConnection(this), (String) arg)
+                } else if (tag.contains("master_sql")) {
+                    tupleResult = 
JdbcUtils.executeToStringList(context.getMasterConnection(), (String) arg)
                 } else {
                     tupleResult = 
JdbcUtils.executeToStringList(context.getConnection(),  (String) arg)
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to