Skip to content

Commit dec24e0

Browse files
committed
Limits CustomBlockHoundIntegrationTest to java 17
1 parent 3419b41 commit dec24e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/test/CustomBlockHoundIntegrationTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
import org.junit.jupiter.api.Assertions;
2020
import org.junit.jupiter.api.Test;
21+
import org.junit.jupiter.api.condition.DisabledForJreRange;
22+
import org.junit.jupiter.api.condition.JRE;
2123
import reactor.core.publisher.Mono;
2224
import reactor.core.scheduler.Schedulers;
2325

@@ -27,6 +29,7 @@
2729
public class CustomBlockHoundIntegrationTest {
2830

2931
@Test
32+
@DisabledForJreRange(min = JRE.JAVA_18)
3033
public void shouldThrowErrorForBlockingCallWithCustomBlockHoundIntegration() {
3134
Assertions.assertThrows(RuntimeException.class, () -> Mono.fromCallable(() -> {
3235
Thread.sleep(1);

0 commit comments

Comments
 (0)