HHH-1645 enabled test for issue

This commit is contained in:
Andrea Boriero 2023-11-08 15:29:42 +01:00 committed by Christian Beikov
parent 3f9730a6a7
commit 839c695c8e

View File

@ -24,8 +24,8 @@
import org.hibernate.internal.util.SerializationHelper; import org.hibernate.internal.util.SerializationHelper;
import org.hibernate.proxy.HibernateProxy; import org.hibernate.proxy.HibernateProxy;
import org.hibernate.testing.FailureExpected;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.testing.orm.junit.JiraKey;
import org.junit.Test; import org.junit.Test;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
@ -539,7 +539,7 @@ public void testRefreshLockInitializedProxy() {
} }
@Test @Test
@FailureExpected( jiraKey = "HHH-1645", message = "Session.refresh with LockOptions does not work on uninitialized proxies" ) @JiraKey( "HHH-1645" )
public void testRefreshLockUninitializedProxy() { public void testRefreshLockUninitializedProxy() {
Session s = openSession(); Session s = openSession();
Transaction t = s.beginTransaction(); Transaction t = s.beginTransaction();
@ -568,7 +568,7 @@ private static DataPoint newPersistentDataPoint(Session s) {
} }
@Test @Test
@FailureExpected( jiraKey = "HHH-1645", message = "Session.refresh with LockOptions does not work on uninitialized proxies" ) @JiraKey( "HHH-1645" )
public void testRefreshLockUninitializedProxyThenRead() { public void testRefreshLockUninitializedProxyThenRead() {
Session s = openSession(); Session s = openSession();
Transaction t = s.beginTransaction(); Transaction t = s.beginTransaction();