Update s3_copying_test.go

This commit is contained in:
chrislu
2025-08-27 15:09:10 -07:00
parent 5a46e9bcb2
commit c4500c5b35
+1 -1
View File
@@ -91,7 +91,7 @@ func waitForS3Service(t *testing.T, client *s3.Client, timeout time.Duration) {
func getNewBucketName() string {
timestamp := time.Now().UnixNano()
// Add random suffix to prevent collisions when tests run quickly
randomSuffix := mathrand.IntN(100000)
randomSuffix := mathrand.Intn(100000)
return fmt.Sprintf("%s%d-%d", defaultConfig.BucketPrefix, timestamp, randomSuffix)
}