diff --git a/aws/session/credentials_test.go b/aws/session/credentials_test.go index 5bc47ece6fb..2ff6e8f2552 100644 --- a/aws/session/credentials_test.go +++ b/aws/session/credentials_test.go @@ -788,5 +788,6 @@ func ssoTestSetup() (func(), error) { } return func() { + os.RemoveAll(dir) }, nil }