Use non zero thread pool depth for tests

Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/d6b71e89
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/d6b71e89
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/d6b71e89

Branch: refs/heads/master
Commit: d6b71e89644d5c013dc95b071e66e0021eb884da
Parents: d89cde1
Author: James Taylor <[email protected]>
Authored: Fri Oct 17 01:23:09 2014 -0700
Committer: James Taylor <[email protected]>
Committed: Fri Oct 17 01:25:11 2014 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/phoenix/query/QueryServicesTestImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/d6b71e89/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
 
b/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
index b7a2df9..0dcef11 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
@@ -33,7 +33,7 @@ import org.apache.phoenix.util.ReadOnlyProps;
 public final class QueryServicesTestImpl extends BaseQueryServicesImpl {
 
     private static final int DEFAULT_THREAD_POOL_SIZE = 20;
-    private static final int DEFAULT_QUEUE_SIZE = 0;
+    private static final int DEFAULT_QUEUE_SIZE = 1000;
     // TODO: setting this down to 5mb causes insufficient memory exceptions. 
Need to investigate why
     private static final int DEFAULT_MAX_MEMORY_PERC = 30; // 30% of heap
     private static final int DEFAULT_THREAD_TIMEOUT_MS = 60000*5; //5min

Reply via email to