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

Gail Badner gbadner at redhat.com
Mon Jan 9 01:37:56 EST 2012


Hi Steve,

I was getting these failures using "gradle clean test" locally.

After pulling from master today, the failures are gone.

Thanks,
Gail

----- Original Message -----
> From: "Steve Ebersole" <steve at hibernate.org>
> To: "Gail Badner" <gbadner at redhat.com>
> Cc: hibernate-dev at lists.jboss.org
> Sent: Friday, January 6, 2012 4:40:49 AM
> Subject: Re: [hibernate-dev] org.hibernate.test.locking.LockModeTest failures
> 
> This is related to a test I added for HHH-5275.  I noticed late last
> night that there were failures there because of failure expected
> tests
> passing.  I just decided to look into them today because it was so
> late.  I do not run with the validating failure expected tests here
> so
> i did not notice.   But...
> 
> When you say you get them there, what does that mean?  Because as far
> as I can tell all is kosher with the H2 tests anyway (the jenkins job
> is succeeding anyway).  I only noticed this affecting a few
> databases.
> 
> On Fri 06 Jan 2012 02:21:05 AM CST, Gail Badner wrote:
> > 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
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> 
> --
> steve at hibernate.org
> http://hibernate.org
> 



More information about the hibernate-dev mailing list