geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject CMP failures in 2.3 (was: Openjeb itests - 552 tests, 2 failures, 2 errors)
Date Thu, 07 Dec 2006 00:10:44 GMT
On Dec 6, 2006, at 12:38 PM, Prasad Kashyap wrote:

> We are now down to just 2 failures and 2 errors on the Openejb-2.3
> itests. The stack trace is here  --  http://rifers.org/paste/show/2622

org.apache.openejb.test.TestFailureException : null; nested exception  
is:
	junit.framework.AssertionFailedError: Should have thrown  
DuplicateKeyException
	at junit.framework.Assert.fail(Assert.java:47)
	at  
org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreateC 
reateSameCMP(CmpTransactionTests.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Transaction.testInvokeCreateFindForceCacheFlush  Time elapsed: 0.32  
sec  <<< FAILURE!
junit.framework.AssertionFailedError: Received Exception class  
org.apache.openejb.test.TestFailureException : null; nested exception  
is:
	junit.framework.AssertionFailedError: expected:<1> but was:<0>
	at junit.framework.Assert.fail(Assert.java:47)
	at  
org.apache.openejb.test.entity.cmp.CmpTransactionTests.testInvokeCreateF 
indForceCacheFlush(CmpTransactionTests.java:83)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


CMRMappingTests.testOneToManyDoNotSetCMR  Time elapsed: 0.26 sec  <<<  
ERROR!
org.apache.openejb.test.TestFailureException: null; nested exception is:
	junit.framework.AssertionFailedError: Received Exception class  
javax.transaction.RollbackException : Unable to commit: transaction  
marked for rollback
	at  
org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.test 
OneToManyDoNotSetCMR(CMRMappingFacadeBean.java:245)
	at  
org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ 
$FastClassByCGLIB$$9687c6d6.invoke(<generated>)
	at org.apache.openejb.dispatch.AbstractMethodOperation.invoke 
(AbstractMethodOperation.java:58)
	at org.apache.openejb.slsb.BusinessMethod.execute 
(BusinessMethod.java:36)

CMRMappingTests.testOneToOneDoNotSetCMR  Time elapsed: 0.06 sec  <<<  
ERROR!
org.apache.openejb.test.TestFailureException: null; nested exception is:
	junit.framework.AssertionFailedError: Received Exception class  
javax.transaction.RollbackException : Unable to commit: transaction  
marked for rollback
	at  
org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean.test 
OneToOneDoNotSetCMR(CMRMappingFacadeBean.java:137)
	at  
org.apache.openejb.test.entity.cmp2.cmrmapping.CMRMappingFacadeBean$ 
$FastClassByCGLIB$$9687c6d6.invoke(<generated>)
	at org.apache.openejb.dispatch.AbstractMethodOperation.invoke 
(AbstractMethodOperation.java:58)
	at org.apache.openejb.slsb.BusinessMethod.execute 
(BusinessMethod.java:36)


Nothing is jumping out at me.  Gianny, you have any ideas?

-David




Mime
View raw message