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

panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new dda1892f67e [Chore](regression) add keepalive to jdbc url (#56465)
dda1892f67e is described below

commit dda1892f67e38e25a2aeb75d54452eeff73a6a48
Author: Pxl <[email protected]>
AuthorDate: Thu Sep 25 23:48:09 2025 +0800

    [Chore](regression) add keepalive to jdbc url (#56465)
    
    add keepalive to jdbc url
---
 .../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 33bc59854b1..e0e63d0037b 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
@@ -1298,7 +1298,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]

Reply via email to