Bug 240012 - CommitUnitOfWorkForcingSQLExceptionTest failed on Sybase
Summary: CommitUnitOfWorkForcingSQLExceptionTest failed on Sybase
Status: CLOSED DUPLICATE of bug 261660
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2008-07-08 11:44 EDT by Edwin Tang CLA
Modified: 2022-06-09 10:35 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Tang CLA 2008-07-08 11:44:03 EDT
CommitUnitOfWorkForcingSQLExceptionTest failed on Sybase 15(jConnect driver). An expected SQLException was not thrown.

=========================
VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707)
TEST MODEL NAME: ComplexUpdateAndUnitOfWorkTestModel
MODEL DESCRIPTION: This model tests complex update features using the employee demo and ownership model.


	VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707)
	TEST SUITE NAME: UnitOfWorkEventTestSuite
	SUITE DESCRIPTION: 

		VERSION:   Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707)
		TEST NAME:   CommitUnitOfWorkForcingSQLExceptionTest
		TEST DESCRIPTION: Test force of SQLException to exercise the rollback exception handling code
		##FAILURE##
		TEST TIME:      0
		TOTAL TIME:      16
		RESULT:      Error
		Local Exception Stack: 
		Exception [EclipseLink-0] (Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707)): org.eclipse.persistence.testing.framework.TestErrorException
		Exception Description: Fatal error occurred.
		Internal Exception: junit.framework.AssertionFailedError: An expected SQLException was not thrown.
	at org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:162)
	at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
	at org.eclipse.persistence.testing.framework.TestSuite.execute(TestSuite.java:75)
	at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
	at org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
	at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247)
	at org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:668)
	at org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
Caused by: junit.framework.AssertionFailedError: An expected SQLException was not thrown.
	at junit.framework.Assert.fail(Assert.java:47)
	at org.eclipse.persistence.testing.tests.unitofwork.CommitUnitOfWorkForcingSQLExceptionTest.test(CommitUnitOfWorkForcingSQLExceptionTest.java:74)
	at org.eclipse.persistence.testing.framework.TestCase.executeTest(TestCase.java:541)
	at org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:152)
	... 7 more
Comment 1 Tom Ware CLA 2008-11-26 11:36:41 EST
This test should be updated to throw a warning on Sybase
Comment 2 Peter Krogh CLA 2009-11-27 13:40:41 EST
This bug fix did not make the cut off for 2.0.0. We are deferring the bugs to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Comment 3 Peter Krogh CLA 2009-11-30 11:35:30 EST
Changing the priority of the bugs that have been recently triaged to future.  Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
Comment 4 Praba Vijayaratnam CLA 2010-04-29 10:02:00 EDT

*** This bug has been marked as a duplicate of bug 261660 ***
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:35:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink