diff --git a/tests/e2e/Services/Storage/StorageCustomServerTest.php b/tests/e2e/Services/Storage/StorageCustomServerTest.php index 994b123999..a24ff65fe2 100644 --- a/tests/e2e/Services/Storage/StorageCustomServerTest.php +++ b/tests/e2e/Services/Storage/StorageCustomServerTest.php @@ -189,7 +189,8 @@ class StorageCustomServerTest extends Scope ]); $this->assertEquals(200, $response['headers']['status-code']); - $this->assertCount(2, $response['body']['buckets']); + // In parallel execution, there may be more buckets with fileSecurity=true + $this->assertGreaterThanOrEqual(2, count($response['body']['buckets'])); $response = $this->client->call(Client::METHOD_GET, '/storage/buckets', array_merge([ 'content-type' => 'application/json',