Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SuspendResumeTest.testTimeoutWhileSuspended() is flaky #11697

Open
lorban opened this issue Apr 24, 2024 · 0 comments
Open

SuspendResumeTest.testTimeoutWhileSuspended() is flaky #11697

lorban opened this issue Apr 24, 2024 · 0 comments

Comments

@lorban
Copy link
Contributor

lorban commented Apr 24, 2024

Jetty version(s)
12.0.x

Jetty Environment
EE9

Description
org.eclipse.jetty.ee9.websocket.tests.SuspendResumeTest.testTimeoutWhileSuspended() sometimes fails with:

java.lang.AssertionError: 

Expected: <1L>
     but: was <2L>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.eclipse.jetty.ee9.websocket.tests.SuspendResumeTest.testTimeoutWhileSuspended(SuspendResumeTest.java:246)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

See: https://jenkins.webtide.net/job/jetty.project/job/jetty-12.0.x/1989/testReport/junit/org.eclipse.jetty.ee9.websocket.tests/SuspendResumeTest/Parallel_Stage___Build___Test___JDK21___testTimeoutWhileSuspended/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant