I'm using the c++ version of the sever to test my application and I wanted to know whether there was a way to explicitly close all established connections to clients as well as wait for confirmation before shutting down?
Before the test ends, my applications expects the gRPC server to terminate all established connections, otherwise it will fail.
The test are passing 9/10 times, but fail occasionally whenever there are connections established while the application is shutting down. I need this to remove instabilities in my test suite.