Increase timeout for some tests

This commit is contained in:
Christian Beikov 2023-08-16 21:53:11 +02:00
parent 3c389d7196
commit 19b04003fa

View File

@ -8,6 +8,7 @@
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.hibernate.dialect.CockroachDialect;
import org.hibernate.dialect.HSQLDialect;
@ -41,12 +42,12 @@
public class FollowOnLockingTest {
@Test
@Timeout( 10 )
@Timeout(value = 1, unit = TimeUnit.MINUTES)
public void testQueryLockingWithoutFollowOn(SessionFactoryScope scope) {
testQueryLocking( scope, false );
}
@Test
@Timeout( 10 )
@Timeout(value = 1, unit = TimeUnit.MINUTES)
public void testQueryLockingWithFollowOn(SessionFactoryScope scope) {
testQueryLocking( scope, true );
}