diff --git a/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java b/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java index 4fc59596c..d8f5b30e4 100644 --- a/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java +++ b/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java @@ -1117,8 +1117,8 @@ private GenericJson buildJsonAwsCredential() { Map map = new HashMap<>(); map.put("environment_id", "aws1"); - map.put("region_url", "regionUrl"); - map.put("url", "url"); + map.put("region_url", "https://169.254.169.254/region"); + map.put("url", "https://169.254.169.254/"); map.put("regional_cred_verification_url", "regionalCredVerificationUrl"); json.put("credential_source", map);