address comments

This commit is contained in:
chrislu committed 2025-08-27 16:55:19 -07:00
1 parent 1c64ec6476
commit e9f83af6e2
9 files changed
+109 -19

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ func TestS3IAMDistributedTests(t *testing.T) {
var lastErr error
for attempt := 0; attempt <= maxRetries; attempt++ {
if attempt > 0 {
time.Sleep(retryDelay * time.Duration(attempt)) // Exponential backoff
time.Sleep(retryDelay * time.Duration(attempt)) // Linear backoff
}
lastErr = operation()
+2 -3
View File
@@ -390,9 +390,8 @@ func (f *S3IAMTestFramework) generateSTSSessionToken(username, roleName string,
return "", err
}
// Note: In a real implementation, we would also create the session in the STS session store
// For now, we'll rely on the fact that if JWT validation passes, the session should be considered valid
// This is a limitation of our current testing approach
// The generated JWT is self-contained and includes all necessary session information.
// The stateless design of the STS service means no external session storage is required.
return tokenString, nil
}