1
0
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:
Carlos Alexandro Becker 2019-03-19 21:34:37 -03:00
parent adb6b947e4
commit d91a3239ec
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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()