File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 32
32
import org .hibernate .tool .schema .spi .SchemaManagementTool ;
33
33
import org .junit .After ;
34
34
import org .junit .Before ;
35
+ import org .junit .ClassRule ;
35
36
import org .junit .Rule ;
36
37
import org .junit .runner .RunWith ;
37
38
@@ -59,8 +60,8 @@ public abstract class BaseReactiveTest {
59
60
@ Rule
60
61
public Timeout rule = Timeout .seconds ( 5 * 60 );
61
62
62
- @ Rule
63
- public RunTestOnContext vertxContextRule = new RunTestOnContext ( () -> {
63
+ @ ClassRule
64
+ public static RunTestOnContext vertxContextRule = new RunTestOnContext ( () -> {
64
65
VertxOptions options = new VertxOptions ();
65
66
options .setBlockedThreadCheckInterval ( 5 );
66
67
options .setBlockedThreadCheckIntervalUnit ( TimeUnit .MINUTES );
You can’t perform that action at this time.
0 commit comments