fix: race in delete user functionality (#13547)

- The race happens with a goroutine that refreshes IAM cache data from storage.
- It could lead to deleted users re-appearing as valid live credentials.
- This change also causes CI to run tests without a race flag (in addition to
running it with).
This commit is contained in:
Aditya Manthramurthy
2021-11-01 15:03:07 -07:00
committed by GitHub
parent 900e584514
commit 79a58e275c
7 changed files with 141 additions and 13 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ import (
)
const (
testDefaultTimeout = 10 * time.Second
testDefaultTimeout = 30 * time.Second
)
// API suite container for IAM