This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 959fca14710 Remove useless user and pwd on
ShardingSphereJdbcEmbeddedContainer (#36596)
959fca14710 is described below
commit 959fca14710fe964d4761ac62659546328c769f3
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Sep 17 11:31:33 2025 +0800
Remove useless user and pwd on ShardingSphereJdbcEmbeddedContainer (#36596)
* Unify e2e default database user and password
* Remove useless user and pwd on ShardingSphereJdbcEmbeddedContainer
---
.../atomic/adapter/impl/ShardingSphereJdbcEmbeddedContainer.java | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/adapter/impl/ShardingSphereJdbcEmbeddedContainer.java
b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/adapter/impl/ShardingSphereJdbcEmbeddedContainer.java
index 4741edaf0ec..28fd66c0e7d 100644
---
a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/adapter/impl/ShardingSphereJdbcEmbeddedContainer.java
+++
b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/adapter/impl/ShardingSphereJdbcEmbeddedContainer.java
@@ -21,7 +21,6 @@ import com.zaxxer.hikari.HikariDataSource;
import lombok.SneakyThrows;
import
org.apache.shardingsphere.test.e2e.env.container.atomic.EmbeddedITContainer;
import
org.apache.shardingsphere.test.e2e.env.container.atomic.adapter.AdapterContainer;
-import
org.apache.shardingsphere.test.e2e.env.container.atomic.constants.StorageContainerConstants;
import
org.apache.shardingsphere.test.e2e.env.container.atomic.storage.StorageContainer;
import javax.sql.DataSource;
@@ -69,8 +68,6 @@ public final class ShardingSphereJdbcEmbeddedContainer
implements EmbeddedITCont
HikariDataSource result = new HikariDataSource();
result.setDriverClassName("org.apache.shardingsphere.driver.ShardingSphereDriver");
result.setJdbcUrl("jdbc:shardingsphere:absolutepath:" +
processFile(configPath, storageContainer.getLinkReplacements()));
- result.setUsername(StorageContainerConstants.OPERATION_USER);
- result.setPassword(StorageContainerConstants.OPERATION_PASSWORD);
result.setMaximumPoolSize(2);
result.setTransactionIsolation("TRANSACTION_READ_COMMITTED");
result.setLeakDetectionThreshold(10000L);