aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-06 14:35:19 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-06 14:35:19 -0700
commitd1abc814a7e80fdb959c7f13bc1189a1bbd083a1 (patch)
tree75d794757f0d6bddd8edd88ba0fa87535dcba79f /test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
parentae35546ddaf6225bc35545df05b65a560e6d52f3 (diff)
Throw away queued messages on error
Diffstat (limited to 'test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c')
-rw-r--r--test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c b/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
index 0169d52059..8a6391b7f0 100644
--- a/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
+++ b/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
@@ -198,7 +198,7 @@ static void test_request_response_with_metadata_and_payload(
op++;
op->op = GRPC_OP_SEND_STATUS_FROM_SERVER;
op->data.send_status_from_server.trailing_metadata_count = 0;
- op->data.send_status_from_server.status = GRPC_STATUS_UNIMPLEMENTED;
+ op->data.send_status_from_server.status = GRPC_STATUS_OK;
op->data.send_status_from_server.status_details = "xyz";
op++;
op->op = GRPC_OP_RECV_MESSAGE;
@@ -215,7 +215,7 @@ static void test_request_response_with_metadata_and_payload(
cq_expect_completion(v_client, tag(1), GRPC_OP_OK);
cq_verify(v_client);
- GPR_ASSERT(status == GRPC_STATUS_UNIMPLEMENTED);
+ GPR_ASSERT(status == GRPC_STATUS_OK);
GPR_ASSERT(0 == strcmp(details, "xyz"));
GPR_ASSERT(0 == strcmp(call_details.method, "/foo"));
GPR_ASSERT(0 == strcmp(call_details.host, "foo.test.google.fr"));