Skip to content

Commit 71c7436

Browse files
committed
fix
1 parent c49f51b commit 71c7436

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/MultipleContextTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import javax.persistence.Entity;
1111
import javax.persistence.Id;
1212

13+
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
1314
import org.hibernate.cfg.Configuration;
1415
import org.hibernate.reactive.mutiny.Mutiny;
1516
import org.hibernate.reactive.stage.Stage;
@@ -54,6 +55,11 @@ protected Configuration constructConfiguration() {
5455
return configuration;
5556
}
5657

58+
@Override
59+
protected void addServices(StandardServiceRegistryBuilder builder) {
60+
vertxContextRule.vertx().getOrCreateContext();
61+
}
62+
5763
@Test
5864
@Ignore
5965
// I don't know why but this test fails on CI because no exception is thrown

0 commit comments

Comments
 (0)