From ae8acc52cd4c821e1cf9ce8929b10f167889b8d5 Mon Sep 17 00:00:00 2001 From: Andrey Litvitski Date: Tue, 28 Jan 2025 16:35:24 +0300 Subject: [PATCH] Fix documentation on testing server application --- .../src/main/antora/modules/ROOT/pages/server.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc index 866f22a..7c1ff3e 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc @@ -160,9 +160,9 @@ A `GrpcExceptionHandler` can be used to handle exceptions of a specific type, re == Testing -If you include `spring-grpc-test` in your project, your gRPC server in a `@SpringBootTest` will be started in-process (i.e. not listening on a network port). +If you include `spring-grpc-test` in your project, your gRPC server in a `@SpringBootTest` can be started in-process (i.e. not listening on a network port) by enabling the in-process server All clients that connect to any server via the autoconfigured `GrpcChannelFactory` will be able to connect to it. -You can switch the in-process server off by setting `spring.grpc.in-process.enabled` to `false`. +You can switch the in-process server on by setting `spring.grpc.inprocess.enabled` to `true`. == Security