Browse Source

Update s3_copying_test.go

pull/7160/head
chrislu 1 month ago
parent
commit
c4500c5b35
  1. 2
      test/s3/copying/s3_copying_test.go

2
test/s3/copying/s3_copying_test.go

@ -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)
}

Loading…
Cancel
Save