mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
test: make aws session test more reliable
This commit is contained in:
parent
adb6b947e4
commit
d91a3239ec
@ -190,6 +190,7 @@ func Test_awsSession_fail(t *testing.T) {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
clearnEnv()
|
||||
defer clearnEnv()
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", "/nope")
|
||||
|
||||
builder := newSessionBuilder()
|
||||
sess := builder.Build()
|
||||
|
Loading…
Reference in New Issue
Block a user