Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x

This commit is contained in:
gregw 2024-08-30 17:28:04 +10:00
commit 494d71a7ac
2 changed files with 4 additions and 4 deletions

View File

@ -41,13 +41,12 @@ import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils; import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.util.thread.QueuedThreadPool; import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.junit.jupiter.api.AfterEach; 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.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
@Disabled // TODO
public class ThreadStarvationTest public class ThreadStarvationTest
{ {
private Server _server; private Server _server;
@ -60,6 +59,7 @@ public class ThreadStarvationTest
} }
@Test @Test
@Tag("flaky")
public void testDefaultServletSuccess() throws Exception public void testDefaultServletSuccess() throws Exception
{ {
int maxThreads = 6; int maxThreads = 6;

View File

@ -41,13 +41,12 @@ import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils; import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.util.thread.QueuedThreadPool; import org.eclipse.jetty.util.thread.QueuedThreadPool;
import org.junit.jupiter.api.AfterEach; 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.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
@Disabled // TODO
public class ThreadStarvationTest public class ThreadStarvationTest
{ {
private Server _server; private Server _server;
@ -60,6 +59,7 @@ public class ThreadStarvationTest
} }
@Test @Test
@Tag("flaky")
public void testDefaultServletSuccess() throws Exception public void testDefaultServletSuccess() throws Exception
{ {
int maxThreads = 6; int maxThreads = 6;