diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-05-09 09:16:19 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-05-09 09:16:19 +0200 |
commit | b5cb8d1c737e792c37efcf303bd2bb1ae43fc791 (patch) | |
tree | 83deceb0f5bdc53602f235133bf05ed394fa437b /test | |
parent | 6c8717dae03671ae685ae3fe765300eda55db7cc (diff) |
Replacing DELETE with DESTROY.
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/tests/request_response_with_payload_and_call_creds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/end2end/tests/request_response_with_payload_and_call_creds.c b/test/core/end2end/tests/request_response_with_payload_and_call_creds.c index 3ed5237746..0339d5ab99 100644 --- a/test/core/end2end/tests/request_response_with_payload_and_call_creds.c +++ b/test/core/end2end/tests/request_response_with_payload_and_call_creds.c @@ -54,7 +54,7 @@ static const char overridden_iam_selector[] = "overridden_selector"; typedef enum { NONE, OVERRIDE, - DELETE + DESTROY } override_mode; enum { TIMEOUT = 200000 }; @@ -179,7 +179,7 @@ static void request_response_with_payload_and_call_creds( GPR_ASSERT(creds != NULL); GPR_ASSERT(grpc_call_set_credentials(c, creds) == GRPC_CALL_OK); break; - case DELETE: + case DESTROY: GPR_ASSERT(grpc_call_set_credentials(c, NULL) == GRPC_CALL_OK); break; } @@ -274,7 +274,7 @@ static void request_response_with_payload_and_call_creds( GRPC_IAM_AUTHORITY_SELECTOR_METADATA_KEY, overridden_iam_selector)); break; - case DELETE: + case DESTROY: GPR_ASSERT(!contains_metadata(&request_metadata_recv, GRPC_IAM_AUTHORIZATION_TOKEN_METADATA_KEY, iam_token)); @@ -323,7 +323,7 @@ void test_request_response_with_payload_and_overridden_call_creds( void test_request_response_with_payload_and_deleted_call_creds( grpc_end2end_test_config config) { - request_response_with_payload_and_call_creds(__FUNCTION__, config, DELETE); + request_response_with_payload_and_call_creds(__FUNCTION__, config, DESTROY); } void grpc_end2end_tests(grpc_end2end_test_config config) { |