[ http://jira.jboss.com/jira/browse/JBCACHE-15?page=comments#action_12310826 ] Scott M Stark commented on JBCACHE-15: --------------------------------------
I updated the testsuite after your changes, and the one test is no longer failing, but there is still one failure in the LRUPolicyUnitTestCase: [EMAIL PROTECTED] testsuite]$ run_tests.sh Buildfile: build.xml Overriding previous definition of reference to xdoclet.task.classpath test: [mkdir] Created dir: C:\cvs\JBoss4.0\jboss-4.0\testsuite\output\log [junit] Running org.jboss.test.cache.bean.MBeanUnitTestCase [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.781 sec [junit] Running org.jboss.test.cache.perf.basic.LocalMapPerfTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.641 sec [junit] Running org.jboss.test.cache.perf.basic.LocalPerfTestCase [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.031 sec [junit] Running org.jboss.test.cache.perf.basic.ReplicatedAsyncMapPerfTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.531 sec [junit] Running org.jboss.test.cache.perf.basic.ReplicatedAsyncPerfTestCase [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 44.922 sec [junit] Running org.jboss.test.cache.perf.basic.ReplicatedSyncMapPerfTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.515 sec [junit] Running org.jboss.test.cache.perf.basic.ReplicatedSyncPerfTestCase [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 29.281 sec [junit] Running org.jboss.test.cache.stress.EvictionLocalStressTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 30.875 sec [junit] Running org.jboss.test.cache.stress.LocalStressTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 21.688 sec [junit] Running org.jboss.test.cache.stress.ReadWriteLockWithUpgradeStressTestCase [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 90.969 sec [junit] Running org.jboss.test.cache.test.aop.MBeanUnitTestCase [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.532 sec [junit] Running org.jboss.test.cache.test.eviction.AopLRUPolicyUnitTestCase [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 62.11 sec [junit] Running org.jboss.test.cache.test.eviction.ConcurrentEvictAndRemoveTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 29.843 sec [junit] Running org.jboss.test.cache.test.eviction.LRUAlgorithmUnitTestCase [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 11.312 sec [junit] Running org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase [junit] Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 58.203 sec [junit] Test org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase FAILED [junit] Running org.jboss.test.cache.test.eviction.RegionManagerUnitTestCase [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.765 sec [junit] Running org.jboss.test.cache.test.eviction.RegionUnitTestCase [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.218 sec [junit] Running org.jboss.test.cache.test.eviction.ReplicatedLRUPolicyUnitTestCase [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 31.297 sec [junit] Running org.jboss.test.cache.test.generic.FqnUnitTestCase [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 1.078 sec [junit] Running org.jboss.test.cache.test.generic.GlobalTransactionUnitTestCase [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.14 sec [junit] Running org.jboss.test.cache.test.generic.IdentityLockUnitTestCase [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 2.953 sec [junit] Running org.jboss.test.cache.test.generic.LockMapUnitTestCase [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.594 sec [junit] Running org.jboss.test.cache.test.generic.LockUnitTestCase [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.953 sec [junit] Running org.jboss.test.cache.test.generic.NonBlockingWriterLockUnitTestCase [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.812 sec [junit] Running org.jboss.test.cache.test.generic.PropertyConfiguratorUnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.406 sec [junit] Running org.jboss.test.cache.test.generic.ReadWriteLockWithUpgradeUnitTestCase [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.844 sec [junit] Running org.jboss.test.cache.test.local.ConcurrentTransactionalUnitTestCase [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 10.469 sec [junit] Running org.jboss.test.cache.test.local.CrudMethodUnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.625 sec [junit] Running org.jboss.test.cache.test.local.LockReleaseUnitTestCase [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.531 sec [junit] Running org.jboss.test.cache.test.local.NoTxUnitTestCase [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.407 sec [junit] Running org.jboss.test.cache.test.local.TxConcurrentBankUnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.89 sec [junit] Running org.jboss.test.cache.test.local.TxUnitTestCase [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 1.704 sec [junit] Running org.jboss.test.cache.test.local.UpgradeLockUnitTestCase [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.563 sec [junit] Running org.jboss.test.cache.test.replicated.AsyncUnitTestCase [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 28.141 sec [junit] Running org.jboss.test.cache.test.replicated.SyncTxUnitTestCase [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 61.625 sec [junit] Running org.jboss.test.cache.test.standAloneAop.LocalConcurrentTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 22.937 sec BUILD SUCCESSFUL Total time: 10 minutes 37 seconds [EMAIL PROTECTED] testsuite]$ <testcase classname="org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase" name="testConcurrentPutAndEvict" time="1.125"> <failure message="Exception generated in put org.jboss.cache.NodeNotExistsEx ception: node /test/test1/node3692228 not found" type="junit.framework.Assertion FailedError">junit.framework.AssertionFailedError: Exception generated in put or g.jboss.cache.NodeNotExistsException: node /test/test1/node3692228 not found at org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase.testConcurrentPutAndEvict(LRUPolicyUnitTestCase.java:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) </failure> <system-err><![CDATA[org.jboss.cache.NodeNotExistsException: node /test/test1/node3692228 not found at org.jboss.cache.TreeCache._put(TreeCache.java:2377) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236) at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:37) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40) at org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:135) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40) at org.jboss.cache.interceptors.CreateIfNotExistsInterceptor.invoke(CreateIfNotExistsInterceptor.java:47) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3088) at org.jboss.cache.TreeCache.put(TreeCache.java:1768) at org.jboss.cache.TreeCache.put(TreeCache.java:1751) at org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase$1.run(LRUPolicyUnitTestCase.java:167) ]]></system-err> > 4.0 testsuite failures > ---------------------- > > Key: JBCACHE-15 > URL: http://jira.jboss.com/jira/browse/JBCACHE-15 > Project: JBoss Cache > Type: Bug > Versions: 1.2 > Environment: Current 4.0 branch after JBossCache 1.2 codebase merge > Reporter: Scott M Stark > Assignee: Ben Wang > Priority: Blocker > > > Running the cache package unit tests from the testsuite module is showing a > failure in the org.jboss.test.cache.test.local.TxUnitTestCase: > [EMAIL PROTECTED] testsuite]$ ant -Dtest=cache -Dnojars=t test > Buildfile: build.xml > Overriding previous definition of reference to xdoclet.task.classpath > test: > [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0\testsuite\output\log\test.log > [junit] Running org.jboss.test.cache.bean.MBeanUnitTestCase > [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.016 sec > [junit] Running org.jboss.test.cache.perf.basic.LocalMapPerfTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.703 sec > [junit] Running org.jboss.test.cache.perf.basic.LocalPerfTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.032 sec > [junit] Running > org.jboss.test.cache.perf.basic.ReplicatedAsyncMapPerfTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10 sec > [junit] Running > org.jboss.test.cache.perf.basic.ReplicatedAsyncPerfTestCase > [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 45.266 sec > [junit] Running > org.jboss.test.cache.perf.basic.ReplicatedSyncMapPerfTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.593 sec > [junit] Running org.jboss.test.cache.perf.basic.ReplicatedSyncPerfTestCase > [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 29.234 sec > [junit] Running org.jboss.test.cache.stress.EvictionLocalStressTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 30.953 sec > [junit] Running org.jboss.test.cache.stress.LocalStressTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 21.719 sec > [junit] Running > org.jboss.test.cache.stress.ReadWriteLockWithUpgradeStressTestCase > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 74.453 sec > [junit] Running org.jboss.test.cache.test.aop.MBeanUnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.953 sec > [junit] Running > org.jboss.test.cache.test.eviction.AopLRUPolicyUnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 62.188 sec > [junit] Running > org.jboss.test.cache.test.eviction.ConcurrentEvictAndRemoveTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 28.516 sec > [junit] Running > org.jboss.test.cache.test.eviction.LRUAlgorithmUnitTestCase > [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 11.375 sec > [junit] Running org.jboss.test.cache.test.eviction.LRUPolicyUnitTestCase > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 70.797 sec > [junit] Running > org.jboss.test.cache.test.eviction.RegionManagerUnitTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.531 sec > [junit] Running org.jboss.test.cache.test.eviction.RegionUnitTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.187 sec > [junit] Running > org.jboss.test.cache.test.eviction.ReplicatedLRUPolicyUnitTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 31.156 sec > [junit] Running org.jboss.test.cache.test.generic.FqnUnitTestCase > [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.094 sec > [junit] Running > org.jboss.test.cache.test.generic.GlobalTransactionUnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.141 sec > [junit] Running org.jboss.test.cache.test.generic.IdentityLockUnitTestCase > [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 2.953 sec > [junit] Running org.jboss.test.cache.test.generic.LockMapUnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.593 sec > [junit] Running org.jboss.test.cache.test.generic.LockUnitTestCase > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.954 sec > [junit] Running > org.jboss.test.cache.test.generic.NonBlockingWriterLockUnitTestCase > [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.829 sec > [junit] Running > org.jboss.test.cache.test.generic.PropertyConfiguratorUnitTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.688 sec > [junit] Running > org.jboss.test.cache.test.generic.ReadWriteLockWithUpgradeUnitTestCase > [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 8.844 sec > [junit] Running > org.jboss.test.cache.test.local.ConcurrentTransactionalUnitTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.719 sec > [junit] Running org.jboss.test.cache.test.local.CrudMethodUnitTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.312 sec > [junit] Running org.jboss.test.cache.test.local.LockReleaseUnitTestCase > [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.547 sec > [junit] Running org.jboss.test.cache.test.local.NoTxUnitTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.391 sec > [junit] Running > org.jboss.test.cache.test.local.TxConcurrentBankUnitTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.36 sec > [junit] Running org.jboss.test.cache.test.local.TxUnitTestCase > [junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 1.625 sec > [junit] Test org.jboss.test.cache.test.local.TxUnitTestCase FAILED > [junit] Running org.jboss.test.cache.test.local.UpgradeLockUnitTestCase > [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.546 sec > [junit] Running org.jboss.test.cache.test.replicated.AsyncUnitTestCase > [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 28.313 sec > [junit] Running org.jboss.test.cache.test.replicated.SyncTxUnitTestCase > [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 61.703 sec > [junit] Running > org.jboss.test.cache.test.standAloneAop.LocalConcurrentTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 22.797 sec > BUILD SUCCESSFUL > Total time: 10 minutes 27 seconds > The failure message and test stderr are: > <testcase classname="org.jboss.test.cache.test.local.TxUnitTestCase" > name="testPutDataRollback1" time="0.016"> > <failure message="junit.framework.AssertionFailedError: map should be > null" > type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: > junit.framework.AssertionFailedError: map should be null > at > org.jboss.test.cache.test.local.TxUnitTestCase.testPutDataRollback1(TxUnitTestCase.java:323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > </failure> > </testcase> > <system-err><![CDATA[junit.framework.AssertionFailedError: map should be > null > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertNull(Assert.java:233) > at > org.jboss.test.cache.test.local.TxUnitTestCase.testPutDataRollback1(TxUnitTestCase.java:319) > 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:324) > at junit.framework.TestCase.runTest(TestCase.java:154) > 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 > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) > ]]></system-err> > This needs to be resolved for the 4.0.1 release. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development