Fix documentation on testing server application

This commit is contained in:
Andrey Litvitski
2025-01-28 16:35:24 +03:00
committed by Dave Syer
parent c13369e6db
commit ae8acc52cd

View File

@@ -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