Skip to content
Snippets Groups Projects
Commit c3f49455 authored by David G. Quintas's avatar David G. Quintas Committed by GitHub
Browse files

Merge pull request #10587 from dgquintas/fix_credentials_test

Update credentials test after #9328
parents 380c3a7e a03d204d
No related branches found
No related tags found
No related merge requests found
...@@ -582,7 +582,7 @@ static void on_oauth2_creds_get_metadata_failure( ...@@ -582,7 +582,7 @@ static void on_oauth2_creds_get_metadata_failure(
static void validate_compute_engine_http_request( static void validate_compute_engine_http_request(
const grpc_httpcli_request *request) { const grpc_httpcli_request *request) {
GPR_ASSERT(request->handshaker != &grpc_httpcli_ssl); GPR_ASSERT(request->handshaker != &grpc_httpcli_ssl);
GPR_ASSERT(strcmp(request->host, "metadata") == 0); GPR_ASSERT(strcmp(request->host, "metadata.google.internal") == 0);
GPR_ASSERT( GPR_ASSERT(
strcmp(request->http.path, strcmp(request->http.path,
"/computeMetadata/v1/instance/service-accounts/default/token") == "/computeMetadata/v1/instance/service-accounts/default/token") ==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment