-
Bug
-
Resolution: Done
-
Major
-
7.0.0.ER3
ServiceBootstrappingTest#testBasicBuild fails if -Dhibernate.show_sql=true is passed when running the tests (eg. passing it via gradle from command line), because the property will propagate to the JdbcServices which are created and tested.
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.junit.Assert.assertFalse(Assert.java:74) at org.hibernate.test.service.ServiceBootstrappingTest.testBasicBuild(ServiceBootstrappingTest.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:507) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
This test should be skipped if the property equals "true"
- is incorporated by
-
JBEAP-2547 Update to Hibernate ORM 5.0.7.Final when released
-
- Closed
-
- cloned to
-
HHH-10395 Loading...