mirror of
https://github.com/versity/versitygw.git
synced 2026-02-10 04:10:07 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user