The test suite org.jboss.test.classloader.leak.test.ClassloaderLeakUnitTestCase fails intermittently on several tests (testSimpleEjb, testEarWithJcl) with the same failure each time. Here is an example from testEarWithJcl:
Testcase: testEarWithJcl took 27.125 sec
FAILED
Classloaders unregistered: EJB2_SLSB
junit.framework.AssertionFailedError: Classloaders unregistered: EJB2_SLSB
at org.jboss.test.classloader.leak.test.ClassloaderLeakTestBase.earTest(ClassloaderLeakTestBase.java:236)
at org.jboss.test.classloader.leak.test.ClassloaderLeakUnitTestCase.testEarWithJcl(ClassloaderLeakUnitTestCase.java:104)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
This failure appers when the test is executed initially via the testsuite. When re-run using one-test, it sometimes appears and it sometimes does not appear. The same failure message is exhibited each time, over all tests for which the failure occurs.
I will attach the server side server.log file for a run of the test suite on a fresh copy of the application server while running the test using one-test.
I will also attach the server side console output (in console.output log) when runn ing the test.
- is related to
-
JBPAPP-182 Classloader leak to JBossTS ReaperThread
- Closed