Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3973B200C31 for ; Wed, 8 Mar 2017 21:43:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 38019160B83; Wed, 8 Mar 2017 20:43:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 81CA7160B73 for ; Wed, 8 Mar 2017 21:43:51 +0100 (CET) Received: (qmail 35147 invoked by uid 500); 8 Mar 2017 20:43:50 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 35133 invoked by uid 99); 8 Mar 2017 20:43:50 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2017 20:43:50 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6201EDFDE6; Wed, 8 Mar 2017 20:43:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: avijayan@apache.org To: commits@ambari.apache.org Message-Id: <691192227256476c83714fc0a4d26959@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-20330 : Unit test failures - testThreadPoolEnabledPropertyProviderDefaults & testMetricsRetrieveServiceDefaults. (avijayan) Date: Wed, 8 Mar 2017 20:43:50 +0000 (UTC) archived-at: Wed, 08 Mar 2017 20:43:52 -0000 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 Authored: Wed Mar 8 12:43:44 2017 -0800 Committer: Aravindan Vijayan 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); }