This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 3e68eb7e13b Refactor SQLParserExternalITEnvironment (#22219)
3e68eb7e13b is described below
commit 3e68eb7e13bfa75666e9d281b8ba4975d0deb8c6
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Nov 16 23:49:17 2022 +0800
Refactor SQLParserExternalITEnvironment (#22219)
* Refactor SQLParserExternalITEnvironment
---
.../test/sql/parser/external/env/SQLParserExternalITEnvironment.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/test/parser/src/main/java/org/apache/shardingsphere/test/sql/parser/external/env/SQLParserExternalITEnvironment.java
b/test/parser/src/main/java/org/apache/shardingsphere/test/sql/parser/external/env/SQLParserExternalITEnvironment.java
index 60f0ea00107..fb35dbcd775 100644
---
a/test/parser/src/main/java/org/apache/shardingsphere/test/sql/parser/external/env/SQLParserExternalITEnvironment.java
+++
b/test/parser/src/main/java/org/apache/shardingsphere/test/sql/parser/external/env/SQLParserExternalITEnvironment.java
@@ -46,8 +46,7 @@ public final class SQLParserExternalITEnvironment {
private SQLParserExternalITEnvironment() {
Properties props = loadProperties();
- sqlParserITEnabled = Boolean.parseBoolean(
- null == System.getProperty(SQL_PARSER_EXTERNAL_IT_ENABLED_KEY)
? props.get(SQL_PARSER_EXTERNAL_IT_ENABLED_KEY).toString() :
System.getProperty(SQL_PARSER_EXTERNAL_IT_ENABLED_KEY));
+ sqlParserITEnabled =
Boolean.parseBoolean(props.get(SQL_PARSER_EXTERNAL_IT_ENABLED_KEY).toString());
resultPath = props.getOrDefault(SQL_PARSER_EXTERNAL_IT_REPORT_PATH,
"/tmp/").toString();
resultProcessorType =
props.getOrDefault(SQL_PARSER_EXTERNAL_IT_REPORT_TYPE, "LOG").toString();
}