aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-06-09 17:47:56 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-06-09 17:47:56 -0700
commit9bfedd67e06c4bd4fa1855aabaf169461a3d6a54 (patch)
treee48bf5a1c3539393508c02b2b6e41052b4532411 /test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
parent97f1454fc5ccdfc57e2f1296a52f1f83037cfd78 (diff)
parenta561ea66aeb460c6f33cfabff396d5ef2b748791 (diff)
Merge remote-tracking branch 'upstream/master' into you-complete-me-csharp
Diffstat (limited to 'test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c')
-rw-r--r--test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c b/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
index 3c54881390..775be5eb6f 100644
--- a/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
+++ b/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
@@ -106,9 +106,9 @@ static void test_request_response_with_metadata_and_payload(
gpr_slice request_payload_slice = gpr_slice_from_copied_string("hello world");
gpr_slice response_payload_slice = gpr_slice_from_copied_string("hello you");
grpc_byte_buffer *request_payload =
- grpc_byte_buffer_create(&request_payload_slice, 1);
+ grpc_raw_byte_buffer_create(&request_payload_slice, 1);
grpc_byte_buffer *response_payload =
- grpc_byte_buffer_create(&response_payload_slice, 1);
+ grpc_raw_byte_buffer_create(&response_payload_slice, 1);
gpr_timespec deadline = five_seconds_time();
grpc_metadata meta_c[2] = {{"key1", "val1", 4, {{NULL, NULL, NULL}}}, {"key2", "val2", 4, {{NULL, NULL, NULL}}}};
grpc_metadata meta_s[2] = {{"key3", "val3", 4, {{NULL, NULL, NULL}}}, {"key4", "val4", 4, {{NULL, NULL, NULL}}}};