aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/request_with_payload.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-11 18:19:24 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-11 18:19:24 -0800
commitd9dd8fee0485ee3b3c2c5caa1df39b7c97330ac2 (patch)
treed4bcdc37bbed36b9cdce6d507292add4c72ab4d5 /test/core/end2end/tests/request_with_payload.c
parentbd217574fb7ec65f899103eb4e1f8719b83fa43a (diff)
parentd8b88dec9182705356af8a862445c28c41ab35c8 (diff)
Merge github.com:grpc/grpc into c++api
Diffstat (limited to 'test/core/end2end/tests/request_with_payload.c')
-rw-r--r--test/core/end2end/tests/request_with_payload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/end2end/tests/request_with_payload.c b/test/core/end2end/tests/request_with_payload.c
index 67b1577014..3924991a78 100644
--- a/test/core/end2end/tests/request_with_payload.c
+++ b/test/core/end2end/tests/request_with_payload.c
@@ -125,8 +125,8 @@ static void test_invoke_request_with_payload(grpc_end2end_test_config config) {
size_t details_capacity = 0;
int was_cancelled = 2;
- c = grpc_channel_create_call(f.client, f.client_cq, "/foo", "test.google.com",
- deadline);
+ c = grpc_channel_create_call(f.client, f.client_cq, "/foo",
+ "foo.test.google.com", deadline);
GPR_ASSERT(c);
grpc_metadata_array_init(&initial_metadata_recv);
@@ -188,7 +188,7 @@ static void test_invoke_request_with_payload(grpc_end2end_test_config config) {
GPR_ASSERT(status == GRPC_STATUS_UNIMPLEMENTED);
GPR_ASSERT(0 == strcmp(details, "xyz"));
GPR_ASSERT(0 == strcmp(call_details.method, "/foo"));
- GPR_ASSERT(0 == strcmp(call_details.host, "test.google.com"));
+ GPR_ASSERT(0 == strcmp(call_details.host, "foo.test.google.com"));
GPR_ASSERT(was_cancelled == 0);
GPR_ASSERT(byte_buffer_eq_string(request_payload_recv, "hello world"));