This is an automated email from the ASF dual-hosted git repository.
oxsean pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.3 by this push:
new d879176fe5 Prolong the timeout parameters of Zookeeper download for
unit test at latest Windows server (#15673)
d879176fe5 is described below
commit d879176fe5da189f531798a920fdb7f965b9cb5e
Author: zrlw <[email protected]>
AuthorDate: Wed Sep 10 15:36:23 2025 +0800
Prolong the timeout parameters of Zookeeper download for unit test at
latest Windows server (#15673)
* Log throwable message if download ZK failed
* Prolong timeout to download ZK for unit test at latest Windows server 2025
* Prolong timeout to connect ZK download url for unit test at latest
Windows server 2025
---
.../registrycenter/initializer/DownloadZookeeperInitializer.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
a/dubbo-test/dubbo-test-check/src/main/java/org/apache/dubbo/test/check/registrycenter/initializer/DownloadZookeeperInitializer.java
b/dubbo-test/dubbo-test-check/src/main/java/org/apache/dubbo/test/check/registrycenter/initializer/DownloadZookeeperInitializer.java
index fa53136f62..93573edc3b 100644
---
a/dubbo-test/dubbo-test-check/src/main/java/org/apache/dubbo/test/check/registrycenter/initializer/DownloadZookeeperInitializer.java
+++
b/dubbo-test/dubbo-test-check/src/main/java/org/apache/dubbo/test/check/registrycenter/initializer/DownloadZookeeperInitializer.java
@@ -66,12 +66,12 @@ public class DownloadZookeeperInitializer extends
ZookeeperInitializer {
/**
* The timeout when download zookeeper binary archive file.
*/
- private static final int REQUEST_TIMEOUT = 30 * 1000;
+ private static final int REQUEST_TIMEOUT = 180 * 1000;
/**
* The timeout when connect the download url.
*/
- private static final int CONNECT_TIMEOUT = 10 * 1000;
+ private static final int CONNECT_TIMEOUT = 60 * 1000;
/**
* Returns {@code true} if the file exists with the given file path,
otherwise {@code false}.
@@ -198,7 +198,8 @@ public class DownloadZookeeperInitializer extends
ZookeeperInitializer {
TESTING_REGISTRY_FAILED_TO_DOWNLOAD_ZK_FILE,
"",
"",
- "Failed to download the file, download url: "
+ url);
+ "Failed to download the file, download url: "
+ url,
+ t);
super.onThrowable(t);
}
});