Skip to content

Commit

Permalink
Merge branch '4.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Dec 13, 2024
2 parents 62a13c3 + 3419b41 commit 15770df
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledForJreRange;
import org.junit.jupiter.api.condition.JRE;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;

Expand All @@ -29,7 +27,6 @@
public class CustomBlockHoundIntegrationTest {

@Test
@DisabledForJreRange(min = JRE.JAVA_16)
public void shouldThrowErrorForBlockingCallWithCustomBlockHoundIntegration() {
Assertions.assertThrows(RuntimeException.class, () -> Mono.fromCallable(() -> {

Check failure on line 31 in spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/test/CustomBlockHoundIntegrationTest.java

View workflow job for this annotation

GitHub Actions / JUnit Test Report

CustomBlockHoundIntegrationTest.shouldThrowErrorForBlockingCallWithCustomBlockHoundIntegration

Expected java.lang.RuntimeException to be thrown, but nothing was thrown.
Raw output
org.opentest4j.AssertionFailedError: Expected java.lang.RuntimeException to be thrown, but nothing was thrown.
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:73)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3128)
	at org.springframework.cloud.gateway.test.CustomBlockHoundIntegrationTest.shouldThrowErrorForBlockingCallWithCustomBlockHoundIntegration(CustomBlockHoundIntegrationTest.java:31)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Thread.sleep(1);
Expand Down

0 comments on commit 15770df

Please sign in to comment.