flaky test tag

This commit is contained in:
gregw 2024-08-30 17:27:03 +10:00
parent ac5ad3780f
commit fb82a44bc6
1 changed files with 2 additions and 2 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;