Repository: phoenix Updated Branches: refs/heads/master 2a223adfb -> 4c8bda151
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/a4ebcfdd Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a4ebcfdd Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a4ebcfdd Branch: refs/heads/master Commit: a4ebcfdd262dcc311f96a80c3dd47290bce2c236 Parents: 2a223ad Author: James Taylor <jamestay...@apache.org> Authored: Thu Sep 15 15:52:06 2016 -0700 Committer: James Taylor <jamestay...@apache.org> Committed: Thu Sep 15 15:52:06 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/a4ebcfdd/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)