From cf0559197193581607030297edbc96e376f32131 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Thu, 30 May 2019 14:50:28 -0700 Subject: [PATCH] Add comment about LoggingInterceptor --- test/cpp/end2end/client_interceptors_end2end_test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cpp/end2end/client_interceptors_end2end_test.cc b/test/cpp/end2end/client_interceptors_end2end_test.cc index d548a023bd1..583513edaa4 100644 --- a/test/cpp/end2end/client_interceptors_end2end_test.cc +++ b/test/cpp/end2end/client_interceptors_end2end_test.cc @@ -499,6 +499,10 @@ class BidiStreamingRpcHijackingInterceptorFactory } }; +// The logging interceptor is for testing purposes only. It is used to verify +// that all the appropriate hook points are invoked for an RPC. The counts are +// reset each time a new object of LoggingInterceptor is created, so only a +// single RPC should be made on the channel before calling the Verify methods. class LoggingInterceptor : public experimental::Interceptor { public: LoggingInterceptor(experimental::ClientRpcInfo* info) {