diff --git a/aws/session/credentials_test.go b/aws/session/credentials_test.go
index <HASH>..<HASH> 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
 }
aws/session: Fix SSO unit test to cleanup tmp directory (#<I>)

Fixes SSO unit test to cleanup temporary directory.