File tree 1 file changed +6
-0
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/configuration
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 12
12
import org .hibernate .HibernateError ;
13
13
import org .hibernate .reactive .pool .impl .DefaultSqlClientPool ;
14
14
import org .hibernate .reactive .pool .impl .DefaultSqlClientPoolConfiguration ;
15
+ import org .hibernate .reactive .testing .DatabaseSelectionRule ;
15
16
17
+ import org .junit .Rule ;
16
18
import org .junit .Test ;
17
19
18
20
import io .vertx .sqlclient .SqlConnectOptions ;
19
21
20
22
import static org .assertj .core .api .Assertions .assertThat ;
21
23
import static org .assertj .core .api .Assertions .fail ;
24
+ import static org .hibernate .reactive .containers .DatabaseConfiguration .DBType .H2 ;
22
25
import static org .hibernate .reactive .containers .DatabaseConfiguration .createJdbcUrl ;
23
26
import static org .hibernate .reactive .containers .DatabaseConfiguration .dbType ;
24
27
import static org .junit .Assert .assertThrows ;
@@ -33,6 +36,9 @@ public class JdbcUrlParserTest {
33
36
34
37
private static final String DEFAULT_DB = "hreactDB" ;
35
38
39
+ @ Rule
40
+ public DatabaseSelectionRule rule = DatabaseSelectionRule .skipTestsFor ( H2 );
41
+
36
42
@ Test
37
43
public void exceptionWhenNull () {
38
44
final HibernateError error = assertThrows ( HibernateError .class , () -> {
You can’t perform that action at this time.
0 commit comments