Hi Supun,
There is nothing to do with the registry core related thing here. This is
one test failure result of change of CCtx which can be fix by adding the
following dependency to the pom.
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.caching.core</artifactId>
<version>4.0.2</version>
<scope>test</scope>
</dependency>
Anyway after add it I got failure as follows,
-------------------------------------------------------------------------------
Test set: org.wso2.carbon.service.mgt.TestPolicyUtil
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.661 sec
<<< FAILURE!
testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil) Time elapsed: 1.641
sec <<< FAILURE!
junit.framework.AssertionFailedError: Failed to initialize the registry.
Caused by: Error in init bootstrap realm
at junit.framework.Assert.fail(Assert.java:47)
at org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:67)
at org.wso2.carbon.service.mgt.TestPolicyUtil.setUp(TestPolicyUtil.java:50)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
at
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
at
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
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)
Please do fix it.
thanks
Eranda
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev