Repository: ambari Updated Branches: refs/heads/trunk 621ff1533 -> 8d3d07a9c
AMBARI-20330 : Unit test failures - testThreadPoolEnabledPropertyProviderDefaults & testMetricsRetrieveServiceDefaults. (avijayan) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8d3d07a9 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8d3d07a9 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8d3d07a9 Branch: refs/heads/trunk Commit: 8d3d07a9c9a07617ea4785038be962eee6be1a5a Parents: 621ff15 Author: Aravindan Vijayan <avija...@hortonworks.com> Authored: Wed Mar 8 12:43:44 2017 -0800 Committer: Aravindan Vijayan <avija...@hortonworks.com> Committed: Wed Mar 8 12:43:44 2017 -0800 ---------------------------------------------------------------------- .../apache/ambari/server/configuration/ConfigurationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8d3d07a9/ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java b/ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java index 51114f8..8111a39 100644 --- a/ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java +++ b/ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java @@ -866,7 +866,7 @@ public class ConfigurationTest { Assert.assertTrue(completionServiceTimeout >= SMALLEST_COMPLETION_SERIVCE_TIMEOUT_MS); Assert.assertTrue(completionServiceTimeout <= LARGEST_COMPLETION_SERIVCE_TIMEOUT_MS); Assert.assertTrue(corePoolSize <= maxPoolSize); - Assert.assertTrue(corePoolSize > 2 && corePoolSize <= 32); + Assert.assertTrue(corePoolSize > 2 && corePoolSize <= 128); Assert.assertTrue(maxPoolSize > 2 && maxPoolSize <= processorCount * 4); Assert.assertTrue(workerQueueSize > processorCount * 10); } @@ -1019,7 +1019,7 @@ public class ConfigurationTest { Assert.assertTrue(priority > Thread.MIN_PRIORITY); Assert.assertTrue(cacheTimeout >= LOWEST_CACHE_TIMEOUT_MINUTES); - Assert.assertTrue(corePoolSize > 2 && corePoolSize <= 32); + Assert.assertTrue(corePoolSize > 2 && corePoolSize <= 128); Assert.assertTrue(maxPoolSize > 2 && maxPoolSize <= processorCount * 4); Assert.assertTrue(workerQueueSize >= processorCount * 10); }