You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ja...@apache.org on 2016/09/16 00:12:56 UTC
[4/4] phoenix git commit: PHOENIX-3286 Use regular queue depth
instead of overriding it to zero for tests
PHOENIX-3286 Use regular queue depth instead of overriding it to zero for tests
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/9c60b565
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9c60b565
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9c60b565
Branch: refs/heads/4.x-HBase-1.1
Commit: 9c60b5650b994588c632f6179bddc7f06896de8f
Parents: e2fc00d
Author: James Taylor <ja...@apache.org>
Authored: Thu Sep 15 15:52:06 2016 -0700
Committer: James Taylor <ja...@apache.org>
Committed: Thu Sep 15 17:11:41 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/phoenix/query/QueryServicesTestImpl.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/phoenix/blob/9c60b565/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 6ae655c..f2b1519 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,8 +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_THREAD_POOL_SIZE = 10;
// 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
@@ -85,7 +84,6 @@ public final class QueryServicesTestImpl extends BaseQueryServicesImpl {
.setSequenceSaltBuckets(DEFAULT_SEQUENCE_TABLE_SALT_BUCKETS)
.setMinStatsUpdateFrequencyMs(DEFAULT_MIN_STATS_UPDATE_FREQ_MS)
.setThreadPoolSize(DEFAULT_THREAD_POOL_SIZE)
- .setQueueSize(DEFAULT_QUEUE_SIZE)
.setMaxMemoryPerc(DEFAULT_MAX_MEMORY_PERC)
.setThreadTimeoutMs(DEFAULT_THREAD_TIMEOUT_MS)
.setSpoolThresholdBytes(DEFAULT_SPOOL_THRESHOLD_BYTES)