This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 7c6f103ef41 branch-4.0: [Chore](regression) add keepalive to jdbc url
#56465 (#56519)
7c6f103ef41 is described below
commit 7c6f103ef41a48bbf98146bb55c8ccf56624b6d5
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Sep 28 10:13:58 2025 +0800
branch-4.0: [Chore](regression) add keepalive to jdbc url #56465 (#56519)
Cherry-picked from #56465
Co-authored-by: Pxl <[email protected]>
---
.../framework/src/main/groovy/org/apache/doris/regression/Config.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/Config.groovy
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/Config.groovy
index 3789c1d5d2a..3cc4ba72b71 100644
---
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/Config.groovy
+++
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/Config.groovy
@@ -1307,7 +1307,7 @@ class Config {
Integer connectTimeout = 5000
Integer socketTimeout = 1000 * 60 * 30
- String s = String.format("connectTimeout=%d&socketTimeout=%d",
connectTimeout, socketTimeout)
+ String s =
String.format("connectTimeout=%d&socketTimeout=%d&tcpKeepAlive=true",
connectTimeout, socketTimeout)
if (url.charAt(url.length() - 1) == '?') {
return url + s
// e.g: jdbc:mysql://locahost:8080/dbname?a=b
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]