This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 823123b9167 branch-3.0: [regression-test](framework)fix master_sql
action bug in framwork #46874 (#46876)
823123b9167 is described below
commit 823123b91679e51cfb8a164e26a08ae8eaa33063
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 13 21:45:27 2025 +0800
branch-3.0: [regression-test](framework)fix master_sql action bug in
framwork #46874 (#46876)
Cherry-picked from #46874
Co-authored-by: shuke <[email protected]>
---
.../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 bd0dfd70ec8..e3edbe49512 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
@@ -1295,6 +1295,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)
}
@@ -1308,6 +1310,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: [email protected]
For additional commands, e-mail: [email protected]