diff --git a/samples/grpc-secure/src/test/java/org/springframework/grpc/sample/GrpcServerApplicationTests.java b/samples/grpc-secure/src/test/java/org/springframework/grpc/sample/GrpcServerApplicationTests.java index c86304f..a219743 100644 --- a/samples/grpc-secure/src/test/java/org/springframework/grpc/sample/GrpcServerApplicationTests.java +++ b/samples/grpc-secure/src/test/java/org/springframework/grpc/sample/GrpcServerApplicationTests.java @@ -107,7 +107,7 @@ public class GrpcServerApplicationTests { assertEquals("Hello ==> Alien", response.getMessage()); } - @TestConfiguration + @TestConfiguration(proxyBeanMethods = false) @ImportGrpcClients(target = "stub", prefix = "unsecured", types = { SimpleGrpc.SimpleBlockingStub.class }) @ImportGrpcClients(target = "default", types = { ServerReflectionGrpc.ServerReflectionStub.class }) static class ExtraConfiguration {