diff --git a/builtin/credential/aws/path_role_test.go b/builtin/credential/aws/path_role_test.go index 07f54f4011cc..f3daec40b5dc 100644 --- a/builtin/credential/aws/path_role_test.go +++ b/builtin/credential/aws/path_role_test.go @@ -1012,7 +1012,7 @@ func TestRoleResolutionWithSTSEndpointConfigured(t *testing.T) { credsConfig := &awsutil.CredentialsConfig{} credsChain, err := credsConfig.GenerateCredentialChain() if err != nil { - t.SkipNow() + t.Fatal(err) } _, err = credsChain.Get() if err != nil {