This is an automated email from the ASF dual-hosted git repository.
zhonghongsheng 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 fa3faf14759 Update license for pg version (#19927)
fa3faf14759 is described below
commit fa3faf1475917e8a6ca5822a38097a8513f27148
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Aug 6 18:25:58 2022 +0800
Update license for pg version (#19927)
---
.../shardingsphere-proxy-distribution/src/main/release-docs/LICENSE | 2 +-
.../transaction/cases/readonly/PostgreSQLSetReadOnlyTestCase.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/release-docs/LICENSE
b/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/release-docs/LICENSE
index 7e4d9409121..fde2f2419ca 100644
---
a/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/release-docs/LICENSE
+++
b/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/release-docs/LICENSE
@@ -322,7 +322,7 @@ The text of each license is also included at
licenses/LICENSE-[project].txt.
commons-compiler 3.0.11: https://github.com/janino-compiler/janino, New
BSD License
janino 3.0.11: https://github.com/janino-compiler/janino, New BSD License
opengauss-jdbc 3.0.0:
https://gitee.com/opengauss/openGauss-connector-jdbc, BSD-2-Clause
- postgresql 42.3.3: https://github.com/pgjdbc/pgjdbc, BSD-2-Clause
+ postgresql 42.4.1: https://github.com/pgjdbc/pgjdbc, BSD-2-Clause
protobuf-java 3.11.0:
https://github.com/protocolbuffers/protobuf/blob/master/java, BSD-3-Clause
protobuf-java-util 3.11.0:
https://github.com/protocolbuffers/protobuf/blob/master/java, BSD-3-Clause
diff --git
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-transaction/src/test/java/org/apache/shardingsphere/integration/transaction/cases/readonly/PostgreSQLSetReadOnlyTestCase.java
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-transaction/src/test/java/org/apache/shardingsphere/integration/transaction/cases/readonly/PostgreSQLSetReadOnlyTestCase.java
index 2501e62cbc5..857411ea36f 100644
---
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-transaction/src/test/java/org/apache/shardingsphere/integration/transaction/cases/readonly/PostgreSQLSetReadOnlyTestCase.java
+++
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-transaction/src/test/java/org/apache/shardingsphere/integration/transaction/cases/readonly/PostgreSQLSetReadOnlyTestCase.java
@@ -32,8 +32,8 @@ import java.sql.Statement;
/**
* PostgreSQL set read only transaction integration test.
*/
-@Slf4j
@TransactionTestCase(dbTypes = {TransactionTestConstants.POSTGRESQL})
+@Slf4j
public final class PostgreSQLSetReadOnlyTestCase extends SetReadOnlyTestCase {
public PostgreSQLSetReadOnlyTestCase(final BaseTransactionITCase
baseTransactionITCase, final DataSource dataSource) {
@@ -58,7 +58,7 @@ public final class PostgreSQLSetReadOnlyTestCase extends
SetReadOnlyTestCase {
String updateSql = "update account set balance=100 where id=2;";
log.info("Connection execute update: {}.", updateSql);
updateStatement.execute(updateSql);
- log.info("Using the driver of postgresql:42.3.3 expect to update
successfully");
+ log.info("Using the driver of postgresql:42.4.1 expect to update
successfully");
} catch (SQLException e) {
Assert.fail("Update failed, should be successfully.");
}