[
https://issues.apache.org/jira/browse/SAVAN-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511931
]
Davanum Srinivas commented on SAVAN-2:
--------------------------------------
i've added excludes in the core/pom.xml for a couple of failures. please fix
them and remove it from the exclude lsit. svn revision 555460
thanks,
dims
> Junit Failures under m2 - 2.0.7 (JDK 1.5)
> -----------------------------------------
>
> Key: SAVAN-2
> URL: https://issues.apache.org/jira/browse/SAVAN-2
> Project: Savan
> Issue Type: Bug
> Reporter: Davanum Srinivas
> Assignee: Chamikara Jayalath
> Priority: Blocker
>
> Chamiakara,
> Can you please look into these?
> thanks,
> dims
> C:\APACHE\savan>cat
> modules\core\target\surefire-reports\org.apache.axis2.savan.atom.UtilServerBasedTestCase.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.axis2.savan.atom.UtilServerBasedTestCase
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<<
> FAILURE!
> warning(junit.framework.TestSuite$1) Time elapsed: 0.034 sec <<< FAILURE!
> junit.framework.AssertionFailedError: No tests found in
> org.apache.axis2.savan.atom.UtilServerBasedTestCase
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.TestSuite$1.runTest(TestSuite.java:263)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> 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:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> 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:585)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> 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:585)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> C:\APACHE\savan>
> C:\APACHE\savan>cat
> modules\core\target\surefire-reports\org.apache.axis2.savan.atom.DerbyTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.axis2.savan.atom.DerbyTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.012 sec <<<
> FAILURE!
> testDataSource(org.apache.axis2.savan.atom.DerbyTest) Time elapsed: 0.005
> sec <<< ERROR!
> org.apache.savan.SavanException: org.apache.derby.jdbc.EmbeddedDriver
> at org.apache.savan.atom.AtomDataSource.<init>(AtomDataSource.java:75)
> at
> org.apache.axis2.savan.atom.DerbyTest.testDataSource(DerbyTest.java:31)
> C:\APACHE\savan>
> C:\APACHE\savan>cat
> modules\core\target\surefire-reports\org.apache.axis2.savan.atom.AtomTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.axis2.savan.atom.AtomTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<<
> FAILURE!
> testAtomSubcription(org.apache.axis2.savan.atom.AtomTest) Time elapsed:
> 0.023 sec <<< ERROR!
> java.lang.Exception: repository directory
> C:\APACHE\savan\modules\core\target\repository does not exists
> at
> org.apache.axis2.savan.atom.UtilServer.getNewConfigurationContext(UtilServer.java:88)
> at org.apache.axis2.savan.atom.UtilServer.start(UtilServer.java:63)
> at org.apache.axis2.savan.atom.AtomTest.setUp(AtomTest.java:94)
> at junit.framework.TestCase.runBare(TestCase.java:125)
> 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:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> 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:585)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> 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:585)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.