Skip to content

Commit d54f2bb

Browse files
committed
[#1827] Clean up ReactiveConnectionPoolTest
1 parent 2de3ac7 commit d54f2bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/configuration/ReactiveConnectionPoolTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ public class ReactiveConnectionPoolTest {
5151
@RegisterExtension
5252
public TestingRegistryExtension registryExtension = new TestingRegistryExtension();
5353

54+
// Everything should work when running in a Vert.x context
5455
@RegisterExtension
55-
public RunTestOnContext testOnContext = new RunTestOnContext();
56+
public static final RunTestOnContext testOnContext = new RunTestOnContext();
5657

5758
private ReactiveConnectionPool configureAndStartPool(Map<String, Object> config) {
5859
DefaultSqlClientPoolConfiguration poolConfig = new DefaultSqlClientPoolConfiguration();

0 commit comments

Comments
 (0)