aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop/interop_client.h
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-12-19 16:41:51 -0800
committerGravatar yang-g <yangg@google.com>2017-12-19 16:41:51 -0800
commit19d1eb22289bb176d431795645683c0f4959efa2 (patch)
treea18919e423cbd506dac0f73b3fedab2603359c87 /test/cpp/interop/interop_client.h
parent0dd982cf4c409d072f2b1c537d65f93001cc0f77 (diff)
When seeing an error in interop test, also log the debug error string.
Diffstat (limited to 'test/cpp/interop/interop_client.h')
-rw-r--r--test/cpp/interop/interop_client.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/cpp/interop/interop_client.h b/test/cpp/interop/interop_client.h
index 57e8ba63f5..b8bb134c20 100644
--- a/test/cpp/interop/interop_client.h
+++ b/test/cpp/interop/interop_client.h
@@ -103,8 +103,10 @@ class InteropClient {
/// Run \a custom_check_fn as an additional check.
bool PerformLargeUnary(SimpleRequest* request, SimpleResponse* response,
CheckerFn custom_checks_fn);
- bool AssertStatusOk(const Status& s);
- bool AssertStatusCode(const Status& s, StatusCode expected_code);
+ bool AssertStatusOk(const Status& s,
+ const grpc::string& optional_debug_string);
+ bool AssertStatusCode(const Status& s, StatusCode expected_code,
+ const grpc::string& optional_debug_string);
bool TransientFailureOrAbort();
ServiceStub serviceStub_;