ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avija...@apache.org
Subject ambari git commit: AMBARI-20330 : Unit test failures - testThreadPoolEnabledPropertyProviderDefaults & testMetricsRetrieveServiceDefaults. (avijayan)
Date Wed, 08 Mar 2017 20:41:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 691026385 -> ec33f228a


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-2.5
Commit: ec33f228a8213a0820af25290219fa13cabb974a
Parents: 6910263
Author: Aravindan Vijayan <avijayan@hortonworks.com>
Authored: Wed Mar 8 12:41:13 2017 -0800
Committer: Aravindan Vijayan <avijayan@hortonworks.com>
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);
   }


Mime
View raw message