Skip to content

Commit 097b04b

Browse files
authored
Merge pull request #2761 from aws/fix-dont-fail-test-if-credentials-set
Don't fail credentials unit tests if credentials are found on a file
2 parents d1d210d + c10d543 commit 097b04b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "3ddb265e-4270-47be-a4b1-5251acbcd270",
3+
"type": "bugfix",
4+
"description": "Don't fail credentials unit tests if credentials are found on a file",
5+
"modules": [
6+
"config"
7+
]
8+
}

config/resolve_credentials_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ func TestResolveCredentialsIMDSClient(t *testing.T) {
578578
WithRetryer(func() aws.Retryer { return aws.NopRetryer{} }),
579579
WithHTTPClient(httpClient),
580580
WithSharedConfigFiles([]string{}),
581+
WithSharedCredentialsFiles([]string{}),
581582
}
582583

583584
if tc.enabledState != imds.ClientDefaultEnableState {

0 commit comments

Comments
 (0)