mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-28 23:09:13 +00:00
Increase timeout for some tests
This commit is contained in:
parent
3c389d7196
commit
19b04003fa
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import org.hibernate.dialect.CockroachDialect;
|
import org.hibernate.dialect.CockroachDialect;
|
||||||
import org.hibernate.dialect.HSQLDialect;
|
import org.hibernate.dialect.HSQLDialect;
|
||||||
@ -41,12 +42,12 @@
|
|||||||
public class FollowOnLockingTest {
|
public class FollowOnLockingTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Timeout( 10 )
|
@Timeout(value = 1, unit = TimeUnit.MINUTES)
|
||||||
public void testQueryLockingWithoutFollowOn(SessionFactoryScope scope) {
|
public void testQueryLockingWithoutFollowOn(SessionFactoryScope scope) {
|
||||||
testQueryLocking( scope, false );
|
testQueryLocking( scope, false );
|
||||||
}
|
}
|
||||||
@Test
|
@Test
|
||||||
@Timeout( 10 )
|
@Timeout(value = 1, unit = TimeUnit.MINUTES)
|
||||||
public void testQueryLockingWithFollowOn(SessionFactoryScope scope) {
|
public void testQueryLockingWithFollowOn(SessionFactoryScope scope) {
|
||||||
testQueryLocking( scope, true );
|
testQueryLocking( scope, true );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user