Skip to content

Commit d2678e0

Browse files
committed
[#1500] Increase timeout threshold
Some databases take a long time to start. And, currently, the timeout property is not inherited.
1 parent ba00d0d commit d2678e0

File tree

1 file changed

+3
-1
lines changed
  • hibernate-reactive-core/src/test/java/org/hibernate/reactive/types

1 file changed

+3
-1
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/types/LobTypeTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
import org.hibernate.reactive.BaseReactiveTest;
1414
import org.hibernate.reactive.testing.DBSelectionExtension;
1515

16-
1716
import org.junit.jupiter.api.Test;
1817
import org.junit.jupiter.api.extension.RegisterExtension;
1918

19+
import io.vertx.junit5.Timeout;
2020
import io.vertx.junit5.VertxTestContext;
2121
import jakarta.persistence.Column;
2222
import jakarta.persistence.Entity;
@@ -26,6 +26,7 @@
2626
import jakarta.persistence.Table;
2727
import jakarta.persistence.Version;
2828

29+
import static java.util.concurrent.TimeUnit.MINUTES;
2930
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.DB2;
3031
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.POSTGRESQL;
3132
import static org.hibernate.reactive.testing.DBSelectionExtension.skipTestsFor;
@@ -35,6 +36,7 @@
3536
/**
3637
* Test types that we expect to work only on selected DBs.
3738
*/
39+
@Timeout(value = 10, timeUnit = MINUTES)
3840
public class LobTypeTest extends BaseReactiveTest {
3941

4042
// Db2: Client doesn't support CLOB type. See https://github.com/hibernate/hibernate-reactive/issues/1662

0 commit comments

Comments
 (0)