This is an automated email from the ASF dual-hosted git repository.

terrymanu 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 3f144507190 Refactor DataSourcePoolCreatorTest (#40089)
3f144507190 is described below

commit 3f144507190fc6aa11acd9baf66c6f82ab44a73a
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Oct 7 14:55:20 2026 +0800

    Refactor DataSourcePoolCreatorTest (#40089)
---
 .../infra/datasource/pool/creator/DataSourcePoolCreatorTest.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infra/data-source-pool/core/src/test/java/org/apache/shardingsphere/infra/datasource/pool/creator/DataSourcePoolCreatorTest.java
 
b/infra/data-source-pool/core/src/test/java/org/apache/shardingsphere/infra/datasource/pool/creator/DataSourcePoolCreatorTest.java
index e6301494479..d7600dd37ce 100644
--- 
a/infra/data-source-pool/core/src/test/java/org/apache/shardingsphere/infra/datasource/pool/creator/DataSourcePoolCreatorTest.java
+++ 
b/infra/data-source-pool/core/src/test/java/org/apache/shardingsphere/infra/datasource/pool/creator/DataSourcePoolCreatorTest.java
@@ -201,7 +201,7 @@ class DataSourcePoolCreatorTest {
         props.put("connectionTimeout", "invalid");
         assertThrows(NumberFormatException.class,
                 () -> DataSourcePoolCreator.create("foo_ds", new 
DataSourcePoolProperties(MockedDataSource.class.getName(), props), true, 
Collections.singleton(storageNode)));
-        Awaitility.await().during(200L, TimeUnit.MILLISECONDS).atMost(500L, 
TimeUnit.MILLISECONDS).untilAsserted(() -> verify(storageNode, 
never()).close());
+        Awaitility.await().during(200L, TimeUnit.MILLISECONDS).atMost(5L, 
TimeUnit.SECONDS).untilAsserted(() -> verify(storageNode, never()).close());
     }
     
     private Map<String, Object> createMockedDataSourceProperties() {

Reply via email to