Revert "aws: test timeout when no credenrtials are set"
This reverts commit 5cfc1a52cd
.
This commit is contained in:
parent
76ca0ca4a0
commit
6e115cb0c4
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue