diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-06-14 19:31:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 19:31:05 -0700 |
commit | 8fb6c924b54775be2d9fea52a39cc930460558de (patch) | |
tree | a7c19431afc9a724772f3a8309a8dc5095ec5fb0 /test/core/end2end | |
parent | b4fc876dbb0307c2d07d087fa80a5ee3c514d389 (diff) | |
parent | 289dcb1b68c236d11a8f5a89827e95af94a7df12 (diff) |
Merge pull request #6875 from y-zeng/log_check
Add format check for gpr_log and gpr_asprintf, add gpr_strpad
Diffstat (limited to 'test/core/end2end')
-rw-r--r-- | test/core/end2end/tests/cancel_with_status.c | 2 | ||||
-rw-r--r-- | test/core/end2end/tests/negative_deadline.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/cancel_with_status.c b/test/core/end2end/tests/cancel_with_status.c index 83629a9a02..673c7051ad 100644 --- a/test/core/end2end/tests/cancel_with_status.c +++ b/test/core/end2end/tests/cancel_with_status.c @@ -112,7 +112,7 @@ static void simple_request_body(grpc_end2end_test_fixture f, size_t num_ops) { char *details = NULL; size_t details_capacity = 0; - gpr_log(GPR_DEBUG, "test with %d ops", num_ops); + gpr_log(GPR_DEBUG, "test with %" PRIuPTR " ops", num_ops); c = grpc_channel_create_call(f.client, NULL, GRPC_PROPAGATE_DEFAULTS, f.cq, "/foo", "foo.test.google.fr:1234", deadline, diff --git a/test/core/end2end/tests/negative_deadline.c b/test/core/end2end/tests/negative_deadline.c index fd56c8b4ff..dff7992f63 100644 --- a/test/core/end2end/tests/negative_deadline.c +++ b/test/core/end2end/tests/negative_deadline.c @@ -112,7 +112,7 @@ static void simple_request_body(grpc_end2end_test_fixture f, size_t num_ops) { char *details = NULL; size_t details_capacity = 0; - gpr_log(GPR_DEBUG, "test with %d ops", num_ops); + gpr_log(GPR_DEBUG, "test with %" PRIuPTR " ops", num_ops); c = grpc_channel_create_call(f.client, NULL, GRPC_PROPAGATE_DEFAULTS, f.cq, "/foo", "foo.test.google.fr:1234", deadline, |