Skip to content

Commit 43cf415

Browse files
committed
Add vert.x-internal-blocking
1 parent a8fc287 commit 43cf415

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing-internal/src/main/java/com/linecorp/armeria/internal/testing/InternalTestingBlockHoundIntegration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public void write(int b) throws IOException {
5252

5353
@Override
5454
public void applyTo(Builder builder) {
55+
builder.nonBlockingThreadPredicate(predicate -> predicate.and(
56+
thread -> !thread.getName().startsWith("vert.x-internal-blocking")));
5557

5658
// tests are allowed to block event loops
5759
builder.allowBlockingCallsInside("com.linecorp.armeria.internal.testing.BlockingUtils",

0 commit comments

Comments
 (0)