Fix high concurrency test on later versions of Vert.x (#2378)

* Fix high concurrency test on later versions of Vert.x

* Format
This commit is contained in:
Nikita Salnikov-Tarnovski 2021-02-23 13:44:09 +02:00 committed by GitHub
parent eaa8604e96
commit e55e4f1976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class HttpRequestInstrumentation implements TypeInstrumentation {
HttpRequestInstrumentation.class.getName() + "$AttachContextAdvice");
transformers.put(
isMethod().and(nameStartsWith("write").and(isPrivate())),
isMethod().and(isPrivate()).and(nameStartsWith("write").or(nameStartsWith("connected"))),
HttpRequestInstrumentation.class.getName() + "$MountContextAdvice");
return transformers;
}