-
1. Re: AOP Integration tests failing
kabirkhan Sep 18, 2006 1:25 PM (in response to adrian.brock)I mailed the dev list about this a few weeks ago, but I was ignored :-)
IIRC this started happening after the mc was broken out into a separate project. It worked against the version of the "test" project that was part of jboss-head. But it fails against the jboss/test 1.0.0.CR1 version in the repository. If you want I can create a jboss/test/1.0.0.CR2, which should fix it -
2. Re: AOP Integration tests failing
kabirkhan Sep 18, 2006 2:22 PM (in response to adrian.brock)Replacing the microcontainer/thirdparty/jboss/test/lib/jboss-test.jar with one built from https://svn.jboss.org/repos/jbossas/projects/test/trunk/test
reduces[junit] Running org.jboss.test.microcontainer.test.MicrocontainerAllTestCase [junit] Tests run: 233, Failures: 1, Errors: 60, Time elapsed: 2.688 sec [junit] Test org.jboss.test.microcontainer.test.MicrocontainerAllTestCase FAILED
to[junit] Running org.jboss.test.microcontainer.test.MicrocontainerAllTestCase [junit] Tests run: 529, Failures: 0, Errors: 1, Time elapsed: 5.672 sec [junit] Test org.jboss.test.microcontainer.test.MicrocontainerAllTestCase FAILED
The one error remaining is:Testcase: testArrayPreinstantiated took 0 sec Caused an ERROR Resource not found: /xml-test/org/jboss/test/kernel/config/test/testArrayPreinstantiated.xml java.lang.RuntimeException: Resource not found: /xml-test/org/jboss/test/kernel/config/test/testArrayPreinstantiated.xml at org.jboss.test.kernel.config.support.XMLUtil.<init>(XMLUtil.java:74) at org.jboss.test.kernel.config.test.AbstractKernelConfigTest.bootstrapXML(AbstractKernelConfigTest.java:72) at org.jboss.test.kernel.config.test.ArrayXMLTestCase.customArrayPreinstantiated(ArrayXMLTestCase.java:61) at org.jboss.test.kernel.config.test.ArrayTestCase.testArrayPreinstantiated(ArrayTestCase.java:152) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23)
I still see a few of these in the test logs, but they seem to somehow
be handled gracefully, and not causing errors922 DEBUG [RegistryTestCase] ==== setUp org.jboss.test.kernel.registry.test.RegistryTestCase ==== 922 WARN [PropertiesVisitorImpl] Failed to load properties for name: bootstrap java.lang.NullPointerException at java.io.FilterInputStream.read(FilterInputStream.java:111) at java.io.FilterInputStream.read(FilterInputStream.java:90) at java.util.Properties$LineReader.readLine(Properties.java:365) at java.util.Properties.load(Properties.java:293) at org.jboss.test.visitor.PropertiesVisitorImpl.loadProperties(Unknown Source) at org.jboss.test.visitor.PropertiesVisitorImpl.visitMethods(Unknown Source) at org.jboss.test.visitor.TypeHierarchyTraversal.processType(Unknown Source) at org.jboss.test.visitor.TypeHierarchyTraversal.visit(Unknown Source) at org.jboss.test.security.TestsPolicyPlugin.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.jboss.test.security.PolicyPlugin.getInstance(Unknown Source) at org.jboss.test.AbstractTestDelegate.setUpSecurity(Unknown Source) at org.jboss.test.AbstractTestDelegate.setUp(Unknown Source) at org.jboss.test.AbstractTestSetup.setUp(Unknown Source) at junit.extensions.TestSetup$1.protect(TestSetup.java:18) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:23) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
-
3. Re: AOP Integration tests failing
alesj Sep 18, 2006 2:51 PM (in response to adrian.brock)"kabir.khan@jboss.com" wrote:
The one error remaining is:Testcase: testArrayPreinstantiated took 0 sec Caused an ERROR Resource not found: /xml-test/org/jboss/test/kernel/config/test/testArrayPreinstantiated.xml java.lang.RuntimeException: Resource not found: /xml-test/org/jboss/test/kernel/config/test/testArrayPreinstantiated.xml at org.jboss.test.kernel.config.support.XMLUtil.<init>(XMLUtil.java:74) at org.jboss.test.kernel.config.test.AbstractKernelConfigTest.bootstrapXML(AbstractKernelConfigTest.java:72) at org.jboss.test.kernel.config.test.ArrayXMLTestCase.customArrayPreinstantiated(ArrayXMLTestCase.java:61) at org.jboss.test.kernel.config.test.ArrayTestCase.testArrayPreinstantiated(ArrayTestCase.java:152) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23)
I believe this method (ArrayTestCase.testArrayPreinstantiated) was removed from the trunk code. -
4. Re: AOP Integration tests failing
kabirkhan Sep 18, 2006 3:14 PM (in response to adrian.brock)OK, so a new jboss-test release is needed - I'll let QA know
-
5. Re: AOP Integration tests failing
kabirkhan Sep 18, 2006 3:26 PM (in response to adrian.brock)Apparently this needs to be fixed before a new jboss-test release can be done http://jira.jboss.com/jira/browse/JBQA-292
-
6. Re: AOP Integration tests failing
adrian.brock Sep 19, 2006 7:43 AM (in response to adrian.brock)Just add a snapshot for now.
Then we can at least tell whether we something breaks.