stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isuru Perera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (STRATOS-7) Autoscale Mediator BE - AppDomainContextsTest Error
Date Mon, 02 Sep 2013 10:22:54 GMT

     [ 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

Mime
View raw message