Skip to content

Commit 3e7ef05

Browse files
committed
More random bucket names
1 parent 18fe8bc commit 3e7ef05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/test/BucketLockCommandTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public function setUp()
4747
$this->markTestSkipped('No application credentials were found.');
4848
}
4949

50-
$bucketName = 'php-bucket-lock-' . time();
50+
# Append random because tests for multiple PHP versions were running at the same time.
51+
$bucketName = 'php-bucket-lock-' . time() . '-' . rand(1000, 9999);
5152
$this->bucket = $this->storage->createBucket($bucketName);
5253
}
5354

0 commit comments

Comments
 (0)