Skip to content

Commit

Permalink
Don't fail credentials unit tests if credentials are found on a file
Browse files Browse the repository at this point in the history
  • Loading branch information
Madrigal committed Aug 23, 2024
1 parent d1d210d commit c10d543
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changelog/3ddb265e427047bea4b15251acbcd270.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "3ddb265e-4270-47be-a4b1-5251acbcd270",
"type": "bugfix",
"description": "Don't fail credentials unit tests if credentials are found on a file",
"modules": [
"config"
]
}
1 change: 1 addition & 0 deletions config/resolve_credentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ func TestResolveCredentialsIMDSClient(t *testing.T) {
WithRetryer(func() aws.Retryer { return aws.NopRetryer{} }),
WithHTTPClient(httpClient),
WithSharedConfigFiles([]string{}),
WithSharedCredentialsFiles([]string{}),
}

if tc.enabledState != imds.ClientDefaultEnableState {
Expand Down

0 comments on commit c10d543

Please sign in to comment.