You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/06/09 07:10:28 UTC
[shardingsphere] branch master updated: adjust time out value of assertAsyncDestroyHikariDataSource method (#18257)
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 d3e611a7d10 adjust time out value of assertAsyncDestroyHikariDataSource method (#18257)
d3e611a7d10 is described below
commit d3e611a7d10a48e132d16bd2c1ffec35bd0a5ad9
Author: liguoping <xd...@163.com>
AuthorDate: Thu Jun 9 15:10:20 2022 +0800
adjust time out value of assertAsyncDestroyHikariDataSource method (#18257)
---
.../infra/datasource/pool/destroyer/DataSourcePoolDestroyerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/datasource/pool/destroyer/DataSourcePoolDestroyerTest.java b/shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/datasource/pool/destroyer/DataSourcePoolDestroyerTest.java
index 9e4ce1d354d..d33e6b59e27 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/datasource/pool/destroyer/DataSourcePoolDestroyerTest.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/datasource/pool/destroyer/DataSourcePoolDestroyerTest.java
@@ -35,7 +35,7 @@ public final class DataSourcePoolDestroyerTest {
new DataSourcePoolDestroyer(new MockedDataSource()).asyncDestroy();
}
- @Test(timeout = 1000L)
+ @Test(timeout = 2000L)
public void assertAsyncDestroyHikariDataSource() throws SQLException, InterruptedException {
HikariDataSource dataSource = createHikariDataSource();
try (Connection ignored = dataSource.getConnection()) {