Revert "aws: test timeout when no credenrtials are set"

This reverts commit 5cfc1a52cd.
This commit is contained in:
Adrien Delorme 2019-01-24 16:45:02 +01:00
parent 76ca0ca4a0
commit 6e115cb0c4
1 changed files with 0 additions and 11 deletions

View File

@ -68,14 +68,3 @@ func TestAccessConfigPrepare_RegionRestricted(t *testing.T) {
t.Fatal("We should be in gov region.") 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
}
}