From 13224e4ee8c9d23e1239331b0b4fc8b375bed720 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 19 Mar 2018 14:16:49 -0500 Subject: [PATCH] Adding TestTracker to SelectChannelEndPointTest Hoping that this will reveal the specific circumstances (test order) that lead to the frequent test failures on CI Signed-off-by: Joakim Erdfelt --- .../java/org/eclipse/jetty/io/SelectChannelEndPointTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/SelectChannelEndPointTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/SelectChannelEndPointTest.java index 756a2d12315..0ace6bfdab5 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/SelectChannelEndPointTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/SelectChannelEndPointTest.java @@ -46,6 +46,7 @@ import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; +import org.eclipse.jetty.toolchain.test.TestTracker; import org.eclipse.jetty.util.BufferUtil; import org.eclipse.jetty.util.Callback; import org.eclipse.jetty.util.FutureCallback; @@ -59,10 +60,14 @@ import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; +import org.junit.Rule; import org.junit.Test; public class SelectChannelEndPointTest { + @Rule + public TestTracker tracker = new TestTracker(); + private static final Logger LOG = Log.getLogger(SelectChannelEndPointTest.class); protected CountDownLatch _lastEndPointLatch; protected volatile EndPoint _lastEndPoint;