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 C7BC7200B8B for ; Mon, 19 Sep 2016 20:45:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C674B160ACC; Mon, 19 Sep 2016 18:45:23 +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 148CA160ABB for ; Mon, 19 Sep 2016 20:45:22 +0200 (CEST) Received: (qmail 88103 invoked by uid 500); 19 Sep 2016 18:45:22 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 88069 invoked by uid 99); 19 Sep 2016 18:45:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2016 18:45:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 153802C0D57 for ; Mon, 19 Sep 2016 18:45:22 +0000 (UTC) Date: Mon, 19 Sep 2016 18:45:22 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-18416) Optimize stack manager initialization for Ambari Server Unit Tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Sep 2016 18:45:24 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504289#comment-15504289 ] Hudson commented on AMBARI-18416: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5692 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5692/]) AMBARI-18416. Optimize stack manager initialization for Ambari Server (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=536bf049a52a3433a2a990286d9e5c3d387c3224]) * (edit) ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/StackManager.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java * (add) ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerMock.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java > Optimize stack manager initialization for Ambari Server Unit Tests > ------------------------------------------------------------------ > > Key: AMBARI-18416 > URL: https://issues.apache.org/jira/browse/AMBARI-18416 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.5.0 > > Attachments: AMBARI-18416.patch > > > Currently the stack dirs scanning occurs on every test module creation. It > takes about 0.5 second for each test method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)