Am 03.01.24 um 12:29 schrieb ma...@apache.org:
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.git
commit 9c5f303e9aea86564c15ed83491d9a4b6beff829
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jan 3 10:46:46 2024 +0000
Results depend on timing so group this with the performance tests
---
.../{TestAsyncMessages.java => TestAsyncMessagesPerformance.java} | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/org/apache/tomcat/websocket/server/TestAsyncMessages.java
b/test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java
similarity index 97%
rename from test/org/apache/tomcat/websocket/server/TestAsyncMessages.java
rename to
test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java
index 4a2ef86b39..c169f61a60 100644
--- a/test/org/apache/tomcat/websocket/server/TestAsyncMessages.java
+++ b/test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java
@@ -27,7 +27,6 @@ import jakarta.websocket.Session;
import jakarta.websocket.WebSocketContainer;
import org.junit.Assert;
-import org.junit.Ignore;
import org.junit.Test;
import org.apache.catalina.Context;
@@ -37,8 +36,7 @@ import org.apache.catalina.startup.TomcatBaseTest;
import org.apache.tomcat.websocket.TesterAsyncTiming;
import
org.apache.tomcat.websocket.TesterMessageCountClient.TesterProgrammaticEndpoint;
-@Ignore // Test passes but GC delays can introduce false failures.
-public class TestAsyncMessages extends TomcatBaseTest {
+public class TestAsyncMessagesPerformance extends TomcatBaseTest {
@Test
public void testAsyncTiming() throws Exception {
This test - which was probably not executed before - now fails for me
always. Most of the times it complains about times longer than the 500
microsecs limit (going up to a few milliseconds in a few cases), but
sometimes it even hangs. I can try to get a stack dump when it hangs again.
Best regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org