Browse Source

More blockhound exclusions.

pull/1120/head
Spencer Gibb 5 years ago
parent
commit
fde52f9ce8
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 4
      spring-cloud-gateway-core/src/test/java/reactor/blockhound/integration/CustomBlockHoundIntegration.java

4
spring-cloud-gateway-core/src/test/java/reactor/blockhound/integration/CustomBlockHoundIntegration.java

@ -31,6 +31,8 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration { @@ -31,6 +31,8 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration {
"org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler",
"logError");
builder.allowBlockingCallsInside("reactor.util.Loggers$Slf4JLogger", "debug");
builder.allowBlockingCallsInside("reactor.util.Loggers$Slf4JLogger", "info");
builder.allowBlockingCallsInside("reactor.util.Loggers$Slf4JLogger", "error");
// Uses org.springframework.util.JdkIdGenerator#generateId
// Uses UUID#randomUUID
@ -60,6 +62,8 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration { @@ -60,6 +62,8 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration {
// Uses Unsafe#park
builder.allowBlockingCallsInside("io.netty.util.concurrent.GlobalEventExecutor",
"execute");
builder.allowBlockingCallsInside(
"io.netty.util.concurrent.SingleThreadEventExecutor$6", "run");
// SECURITY RELATED

Loading…
Cancel
Save