[hibernate-dev] org.hibernate.test.locking.LockModeTest failures

Gail Badner gbadner at redhat.com
Fri Jan 6 03:21:05 EST 2012


I pulled from master and now I'm getting 3 test failures for org.hibernate.test.locking.LockModeTest:
- testLegacyCriteria()
- testLegacyCriteriaAliasSpecific()
- testQuery()

All fail due to:
org.hibernate.testing.junit4.FailureExpectedHandler$FailureExpectedTestPassedException: Test marked as FailureExpected, but did not fail 

Also in the test report:
  <system-err><![CDATA[Exception in thread "Thread-8" java.lang.AssertionError: Unexpected error type testing pessimistic locking : java.lang.NullPoin
terException
        at org.junit.Assert.fail(Assert.java:91)
        at org.hibernate.test.locking.LockModeTest$1.execute(LockModeTest.java:223)
        at org.hibernate.testing.async.ExecutableAdapter.run(ExecutableAdapter.java:45)
        at java.lang.Thread.run(Thread.java:662)
Exception in thread "Thread-9" java.lang.AssertionError: Unexpected error type testing pessimistic locking : java.lang.NullPointerException
        at org.junit.Assert.fail(Assert.java:91)
        at org.hibernate.test.locking.LockModeTest$1.execute(LockModeTest.java:223)
        at org.hibernate.testing.async.ExecutableAdapter.run(ExecutableAdapter.java:45)
        at java.lang.Thread.run(Thread.java:662)
Exception in thread "Thread-10" java.lang.AssertionError: Unexpected error type testing pessimistic locking : java.lang.NullPointerException
        at org.junit.Assert.fail(Assert.java:91)
        at org.hibernate.test.locking.LockModeTest$1.execute(LockModeTest.java:223)
        at org.hibernate.testing.async.ExecutableAdapter.run(ExecutableAdapter.java:45)
        at java.lang.Thread.run(Thread.java:662)
]]></system-err>

Is this related to HHH-6940 or HHH-5275?

Regards,
Gail



More information about the hibernate-dev mailing list