Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5670AFC6F for ; Mon, 2 Sep 2013 10:23:22 +0000 (UTC) Received: (qmail 81708 invoked by uid 500); 2 Sep 2013 10:23:22 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 81676 invoked by uid 500); 2 Sep 2013 10:23:22 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 81544 invoked by uid 99); 2 Sep 2013 10:23:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 10:23:21 +0000 X-ASF-Spam-Status: No, hits=-2002.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Sep 2013 10:23:19 +0000 Received: (qmail 80475 invoked by uid 99); 2 Sep 2013 10:22:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 10:22:54 +0000 Date: Mon, 2 Sep 2013 10:22:54 +0000 (UTC) From: "Isuru Perera (JIRA)" To: dev@stratos.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (STRATOS-7) Autoscale Mediator BE - AppDomainContextsTest Error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STRATOS-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isuru Perera updated STRATOS-7: ------------------------------- Fix Version/s: 3.0.0 RC1 > Autoscale Mediator BE - AppDomainContextsTest Error > --------------------------------------------------- > > Key: STRATOS-7 > URL: https://issues.apache.org/jira/browse/STRATOS-7 > Project: Stratos > Issue Type: Bug > Reporter: Imesh Gunaratne > Assignee: Imesh Gunaratne > Priority: Minor > Fix For: 3.0.0 RC1 > > Attachments: 0001-Added-missing-sub-domain-aware-group-management-agen.patch, 0001-Removed-service-configuration-at-the-end-of-test-add.patch, 0001-Updated-test-case-to-use-junit4-and-added-tear-down-.patch, trace.log > > > AppDomainContextsTest in Autoscale Mediator BE is using the singleton LB configuration instance and it's service configurations added in one test method are affecting the other test methods. > We might need to isolate and remove service configurations added in a test method either in tearDown() or at the end of the test. > Error: > ------------------------------------------------------------------------------- > Test set: org.apache.stratos.mediator.autoscale.lbautoscale.AppDomainContextsTest > ------------------------------------------------------------------------------- > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.215 sec <<< FAILURE! > testRemoval(org.apache.stratos.mediator.autoscale.lbautoscale.AppDomainContextsTest) Time elapsed: 0.003 sec <<< ERROR! > org.apache.synapse.SynapseException: Axis2 clustering GroupManagementAgent for domain: wso2.as3.domain, sub-domain: mgt has not been defined > at org.apache.stratos.mediator.autoscale.lbautoscale.util.AutoscaleUtil.getAppDomainContexts(AutoscaleUtil.java:256) > at org.apache.stratos.mediator.autoscale.lbautoscale.AppDomainContextsTest.setUp(AppDomainContextsTest.java:63) > at junit.framework.TestCase.runBare(TestCase.java:139) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:255) > at junit.framework.TestSuite.run(TestSuite.java:250) > at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236) > at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134) > at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira