phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestay...@apache.org
Subject [3/3] git commit: Use non zero thread pool depth for tests
Date Fri, 17 Oct 2014 08:17:49 GMT
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/0944386f
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/0944386f
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/0944386f

Branch: refs/heads/4.0
Commit: 0944386f8558d7b9b0fb53029cf6a8ba0c41c624
Parents: b85a9ba
Author: James Taylor <jtaylor@salesforce.com>
Authored: Fri Oct 17 01:23:09 2014 -0700
Committer: James Taylor <jtaylor@salesforce.com>
Committed: Fri Oct 17 01:23:09 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/0944386f/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


Mime
View raw message