From 6e115cb0c444ecab10ee560b4f11b49cec3538ad Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 24 Jan 2019 16:45:02 +0100 Subject: [PATCH] Revert "aws: test timeout when no credenrtials are set" This reverts commit 5cfc1a52cd316b14694b26548af08bd9728c94ec. --- builder/amazon/common/access_config_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/builder/amazon/common/access_config_test.go b/builder/amazon/common/access_config_test.go index cb26750e2..489bf08df 100644 --- a/builder/amazon/common/access_config_test.go +++ b/builder/amazon/common/access_config_test.go @@ -68,14 +68,3 @@ func TestAccessConfigPrepare_RegionRestricted(t *testing.T) { t.Fatal("We should be in gov region.") } } - -func TestAccessConfig_NoCredentialsFailsQuickly(t *testing.T) { - c := &AccessConfig{ - RawRegion: "not-empty", - } - _, err := c.Session() - if err == nil { - t.Errorf("AccessConfig.Session() error is nil") - return - } -}