diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-03-13 15:11:29 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-03-13 15:16:27 -0700 |
commit | b1628971a19e844ffb8467dab652760882875635 (patch) | |
tree | 8f9148fa7206b82d20424a74af0ed2e10433cd73 /test/core/http/httpscli_test.cc | |
parent | b62d77f05b158291061637984e0197475c3e8f1a (diff) |
Add logging for helping debug httpcli tests
Diffstat (limited to 'test/core/http/httpscli_test.cc')
-rw-r--r-- | test/core/http/httpscli_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/http/httpscli_test.cc b/test/core/http/httpscli_test.cc index a38f306ef3..b8f2e438a4 100644 --- a/test/core/http/httpscli_test.cc +++ b/test/core/http/httpscli_test.cc @@ -49,6 +49,7 @@ static void on_finish(void* arg, grpc_error* error) { "<body><p>This is a test</p></body></html>"; grpc_http_response* response = static_cast<grpc_http_response*>(arg); GPR_ASSERT(response); + gpr_log(GPR_INFO, "response status %d", response->status); GPR_ASSERT(response->status == 200); GPR_ASSERT(response->body_length == strlen(expect)); GPR_ASSERT(0 == memcmp(expect, response->body, response->body_length)); |