This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-tck.git
The following commit(s) were added to refs/heads/main by this push:
new f4d0ffb Increase default write timeout after abnormal session close
f4d0ffb is described below
commit f4d0ffbd554daa06adf82e5ee6a5c54c073b8870
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Aug 5 09:49:33 2024 +0100
Increase default write timeout after abnormal session close
The timeout being too short was the cause of this failure
https://github.com/apache/tomcat-tck/actions/runs/10234669506
---
websocket-tck/pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/websocket-tck/pom.xml b/websocket-tck/pom.xml
index 2d1841c..7ed7c2d 100644
--- a/websocket-tck/pom.xml
+++ b/websocket-tck/pom.xml
@@ -165,6 +165,8 @@
<password>j2ee</password>
<porting.ts.url.class.1>com.sun.ts.tests.websocket.lib.implementation.sun.common.SunRIURL</porting.ts.url.class.1>
<org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD>0</org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD>
+ <!-- Default is 50ms which is too slow for the
TCK. Increase to 1s. -->
+
<org.apache.tomcat.websocket.ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT>1000</org.apache.tomcat.websocket.ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT>
<jimage.dir>${project.build.directory}/jimage</jimage.dir>
<sigTestClasspath>${settings.localRepository}/org/apache/tomcat/embed/tomcat-embed-websocket/${tomcat.version}/tomcat-embed-websocket-${tomcat.version}.jar${path.separator}${project.build.directory}/jimage/java.base</sigTestClasspath>
</systemPropertyVariables>
@@ -194,6 +196,8 @@
<password>j2ee</password>
<porting.ts.url.class.1>com.sun.ts.tests.websocket.lib.implementation.sun.common.SunRIURL</porting.ts.url.class.1>
<org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD>0</org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD>
+ <!-- Default is 50ms which is too slow for the
TCK. Increase to 1s. -->
+
<org.apache.tomcat.websocket.ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT>1000</org.apache.tomcat.websocket.ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT>
</systemPropertyVariables>
<summaryFile>target/failsafe-reports/failsafe-summary-https.xml</summaryFile>
</configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]