From ac5ad3780f04f896c13448836f9fbd8a1ceac2f0 Mon Sep 17 00:00:00 2001 From: gregw Date: Fri, 30 Aug 2024 17:21:47 +1000 Subject: [PATCH] flaky test tag --- .../org/eclipse/jetty/ee9/servlets/ThreadStarvationTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jetty-ee9/jetty-ee9-servlets/src/test/java/org/eclipse/jetty/ee9/servlets/ThreadStarvationTest.java b/jetty-ee9/jetty-ee9-servlets/src/test/java/org/eclipse/jetty/ee9/servlets/ThreadStarvationTest.java index e3b90f64693..dd5a3524a8c 100644 --- a/jetty-ee9/jetty-ee9-servlets/src/test/java/org/eclipse/jetty/ee9/servlets/ThreadStarvationTest.java +++ b/jetty-ee9/jetty-ee9-servlets/src/test/java/org/eclipse/jetty/ee9/servlets/ThreadStarvationTest.java @@ -54,7 +54,7 @@ import org.eclipse.jetty.toolchain.test.MavenTestingUtils; import org.eclipse.jetty.util.Callback; import org.eclipse.jetty.util.thread.QueuedThreadPool; import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -75,7 +75,7 @@ public class ThreadStarvationTest } @Test - @Disabled // TODO + @Tag("flaky") public void testDefaultServletSuccess() throws Exception { int maxThreads = 6; @@ -189,6 +189,7 @@ public class ThreadStarvationTest } @Test + @Tag("flaky") public void testFailureStarvation() throws Exception { Logger serverInternalLogger = LoggerFactory.getLogger("org.eclipse.jetty.server.internal");