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/ec33f228
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ec33f228
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ec33f228

Branch: refs/heads/branch-dev-logsearch
Commit: ec33f228a8213a0820af25290219fa13cabb974a
Parents: 6910263
Author: Aravindan Vijayan <[email protected]>
Authored: Wed Mar 8 12:41:13 2017 -0800
Committer: Aravindan Vijayan <[email protected]>
Committed: Wed Mar 8 12:41:23 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/ec33f228/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 5f6dd72..b9288d2 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);
   }
@@ -902,7 +902,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);
   }

Reply via email to