This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 1cae7eb5f68 [regression-test](framework)fix master_sql action bug in
framwork (#46874)
1cae7eb5f68 is described below
commit 1cae7eb5f68ba76ebfa3fb6760fa2d5c94540a0f
Author: shuke <[email protected]>
AuthorDate: Mon Jan 13 12:31:18 2025 +0800
[regression-test](framework)fix master_sql action bug in framwork (#46874)
---
.../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 2b121cb8f44..52682f740b8 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
@@ -1326,6 +1326,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)
}
@@ -1339,6 +1341,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]