Ignore DimFilterHavingSpec testConcurrentUsage. (#3814)

This commit is contained in:
Gian Merlino 2017-01-03 16:43:58 -08:00 committed by David Lim
parent 1f35120c7e
commit 220ca7ebb6

View File

@ -27,6 +27,7 @@ import io.druid.query.filter.SelectorDimFilter;
import io.druid.segment.column.ValueType; import io.druid.segment.column.ValueType;
import org.hamcrest.CoreMatchers; import org.hamcrest.CoreMatchers;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.internal.matchers.ThrowableMessageMatcher; import org.junit.internal.matchers.ThrowableMessageMatcher;
@ -65,6 +66,7 @@ public class DimFilterHavingSpecTest
} }
@Test(timeout = 60_000L) @Test(timeout = 60_000L)
@Ignore // Doesn't always pass. The check in "eval" is best effort and not guaranteed to detect concurrent usage.
public void testConcurrentUsage() throws Exception public void testConcurrentUsage() throws Exception
{ {
final ExecutorService exec = Executors.newFixedThreadPool(2); final ExecutorService exec = Executors.newFixedThreadPool(2);