PHOENIX-1994 - TestIndexWriter#testFailureOnRunningUpdateAbortsPending() deadlocks on JDK 8
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/9c4cdb6c Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9c4cdb6c Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9c4cdb6c Branch: refs/heads/4.5-HBase-1.1 Commit: 9c4cdb6cac8c09876f60f1641fe449c5fa380559 Parents: 0ba0e7b Author: Cody Marcel <[email protected]> Authored: Mon Aug 10 12:08:07 2015 -0700 Committer: James Taylor <[email protected]> Committed: Tue Aug 11 18:44:51 2015 -0700 ---------------------------------------------------------------------- .../java/org/apache/phoenix/hbase/index/write/TestIndexWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/9c4cdb6c/phoenix-core/src/test/java/org/apache/phoenix/hbase/index/write/TestIndexWriter.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/test/java/org/apache/phoenix/hbase/index/write/TestIndexWriter.java b/phoenix-core/src/test/java/org/apache/phoenix/hbase/index/write/TestIndexWriter.java index 37a8cf4..8f576cf 100644 --- a/phoenix-core/src/test/java/org/apache/phoenix/hbase/index/write/TestIndexWriter.java +++ b/phoenix-core/src/test/java/org/apache/phoenix/hbase/index/write/TestIndexWriter.java @@ -145,7 +145,7 @@ public class TestIndexWriter { Abortable abort = new StubAbortable(); Stoppable stop = Mockito.mock(Stoppable.class); // single thread factory so the older request gets queued - ExecutorService exec = Executors.newFixedThreadPool(1); + ExecutorService exec = Executors.newFixedThreadPool(3); Map<ImmutableBytesPtr, HTableInterface> tables = new HashMap<ImmutableBytesPtr, HTableInterface>(); FakeTableFactory factory = new FakeTableFactory(tables);
