mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-19 05:36:58 +00:00
fix build
This commit is contained in:
@@ -656,7 +656,7 @@ func (f *S3IAMTestFramework) GenerateUniqueBucketName(prefix string) string {
|
||||
testName = strings.ReplaceAll(testName, "_", "-")
|
||||
|
||||
// Add random suffix to handle parallel tests
|
||||
randomSuffix := mathrand.IntN(10000)
|
||||
randomSuffix := mathrand.Intn(10000)
|
||||
|
||||
return fmt.Sprintf("%s-%s-%d", prefix, testName, randomSuffix)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user