Skip to content

Commit

Permalink
Migrate reactor-netty-0.9 tests to java (#7635)
Browse files Browse the repository at this point in the history
Part of #7195
  • Loading branch information
Mateusz Rzeszutek authored Jan 23, 2023
1 parent e1895e5 commit 7657b75
Show file tree
Hide file tree
Showing 9 changed files with 494 additions and 453 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@

public final class DecoratorFunctions {

// ignore our own callbacks - or already decorated functions
// ignore already decorated functions
public static boolean shouldDecorate(Class<?> callbackClass) {
return !callbackClass.getName().startsWith("io.opentelemetry.javaagent");
return callbackClass != OnRequestDecorator.class
&& callbackClass != OnResponseDecorator.class
&& callbackClass != OnRequestErrorDecorator.class
&& callbackClass != OnResponseErrorDecorator.class;
}

private abstract static class OnMessageDecorator<M> implements BiConsumer<M, Connection> {
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7657b75

Please sign in to comment.