Bug 1009477 - [HHH-8516] EnumeratedTypeTest.testTrimmedEnum fails on oracle databases
Summary: [HHH-8516] EnumeratedTypeTest.testTrimmedEnum fails on oracle databases
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Hibernate
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER4
: EAP 6.2.0
Assignee: Brett Meyer
QA Contact: Zbyněk Roubalík
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: 1010467
TreeView+ depends on / blocked
 
Reported: 2013-09-18 14:15 UTC by Martin Simka
Modified: 2015-09-01 04:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:15:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Simka 2013-09-18 14:15:14 UTC
Stacktrace

java.lang.AssertionError: expected:<0> but was:<1>
	at org.junit.Assert.fail(Assert.java:93)
	at org.junit.Assert.failNotEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:128)
	at org.junit.Assert.assertEquals(Assert.java:472)
	at org.junit.Assert.assertEquals(Assert.java:456)
	at org.hibernate.test.annotations.enumerated.EnumeratedTypeTest.testTrimmedEnum(EnumeratedTypeTest.java:365)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:63)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)

It didn't fail with Hibernate 4.2.0.SP1

https://hibernate.atlassian.net/browse/HHH-8516

Comment 1 Brett Meyer 2013-09-18 15:16:55 UTC
Test-only fix.  No docs needed.  Corrected upstream, but holding off until EAP 6.3.0.

Comment 2 Brett Meyer 2013-09-25 15:54:06 UTC
Actually, this will go into EAP 6.2.0 ER4's upgrade to Hibernate ORM 4.2.6.Final in 1010467.

Comment 6 Martin Simka 2013-10-11 12:58:06 UTC
verified on EAP 6.2.0.ER5


Note You need to log in before you can comment on or make changes to this bug.