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/a689528c Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a689528c Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a689528c Branch: refs/heads/4.5-HBase-1.0 Commit: a689528c77c58542b9a5aabd3f2fecfd6a94eab3 Parents: 417a82a Author: Cody Marcel <cody.mar...@gmail.com> Authored: Mon Aug 10 12:08:07 2015 -0700 Committer: James Taylor <jtay...@salesforce.com> Committed: Tue Aug 11 18:42:11 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/a689528c/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);