aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-06-10 15:15:44 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-06-10 15:15:44 -0700
commit0ba114408ebb153b29c85dd8be9847095a6a6954 (patch)
treeb2fe0cfd1e799493489be2a3b4790b59df4fb4a8 /test/cpp/end2end
parent1f24af879c507927203f11301e6ff2439bdbeff8 (diff)
Fix gpr_log format mismatches in c++ tests
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r--test/cpp/end2end/async_end2end_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc
index b839801500..5915187d43 100644
--- a/test/cpp/end2end/async_end2end_test.cc
+++ b/test/cpp/end2end/async_end2end_test.cc
@@ -231,7 +231,8 @@ class TestScenario {
void Log() const {
gpr_log(GPR_INFO,
"Scenario: disable_blocking %d, credentials %s, message size %d",
- disable_blocking, credentials_type.c_str(), message_content.size());
+ disable_blocking, credentials_type.c_str(),
+ (int)(message_content.size()));
}
bool disable_blocking;
const grpc::string credentials_type;