diff options
author | 2017-05-16 10:18:38 -0700 | |
---|---|---|
committer | 2017-05-16 10:18:38 -0700 | |
commit | bc60bb25b2ee2950e6aa8689271e4f4bd13f74b3 (patch) | |
tree | 83b0635e9a15533914c069d41f7fe0fbf5f894d1 /test/core/bad_client/tests/large_metadata.c | |
parent | 928681dc3d3c738eb807b457ccd72627ac344dd3 (diff) | |
parent | 081c442462a21f326ff08f47ff1cd9a17c6746ea (diff) |
Merge remote-tracking branch 'upstream/master' into backward-compat-dev
Diffstat (limited to 'test/core/bad_client/tests/large_metadata.c')
-rw-r--r-- | test/core/bad_client/tests/large_metadata.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/bad_client/tests/large_metadata.c b/test/core/bad_client/tests/large_metadata.c index d7a3ce9461..5f3a9c9ca4 100644 --- a/test/core/bad_client/tests/large_metadata.c +++ b/test/core/bad_client/tests/large_metadata.c @@ -212,12 +212,14 @@ static void client_validator(grpc_slice_buffer *incoming) { } int main(int argc, char **argv) { + int i; + grpc_test_init(argc, argv); // Test sending more metadata than the server will accept. gpr_strvec headers; gpr_strvec_init(&headers); - for (int i = 0; i < NUM_HEADERS; ++i) { + for (i = 0; i < NUM_HEADERS; ++i) { char *str; gpr_asprintf(&str, "%s%02d%s", PFX_TOO_MUCH_METADATA_FROM_CLIENT_HEADER_START_STR, i, |