Merge pull request #1756 from versity/sis/int-tests-bucket-name-generation

fix: fix the concurrency issue in integration tests bucket name generation
This commit is contained in:
Ben McClelland
2026-01-14 07:56:17 -08:00
committed by GitHub

View File

@@ -66,8 +66,8 @@ type user struct {
}
func getBucketName() string {
bcktCount.Add(1)
return fmt.Sprintf("test-bucket-%v", bcktCount.Load())
val := bcktCount.Add(1)
return fmt.Sprintf("test-bucket-%v", val)
}
func getUser(role string) user {