From c1cb7bdc8e45f1b5eba89f5120c99eca45dd3a48 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 19 Feb 2026 05:12:09 +1300 Subject: [PATCH] fix: increase schema polling timeouts to 15 minutes Spatial attribute creation under parallel CI load consistently exceeds 10 minutes. Increased both waitForAllAttributes and waitForAllIndexes from 10/8 minutes to 15 minutes to accommodate heavy parallel load. Co-Authored-By: Claude Opus 4.6 --- tests/e2e/Scopes/SchemaPolling.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/Scopes/SchemaPolling.php b/tests/e2e/Scopes/SchemaPolling.php index 54a414ca5e..2c3e029905 100644 --- a/tests/e2e/Scopes/SchemaPolling.php +++ b/tests/e2e/Scopes/SchemaPolling.php @@ -154,7 +154,7 @@ trait SchemaPolling * @param int $timeoutMs Maximum time to wait in milliseconds * @param int $waitMs Time between polling attempts in milliseconds */ - protected function waitForAllIndexes(string $databaseId, string $containerId, int $timeoutMs = 480000, int $waitMs = 500): void + protected function waitForAllIndexes(string $databaseId, string $containerId, int $timeoutMs = 900000, int $waitMs = 500): void { $this->assertEventually(function () use ($databaseId, $containerId) { $container = $this->client->call( @@ -182,10 +182,10 @@ trait SchemaPolling * * @param string $databaseId The database ID * @param string $containerId The collection/table ID - * @param int $timeoutMs Maximum time to wait in milliseconds (default 10 minutes for CI stability under parallel load) + * @param int $timeoutMs Maximum time to wait in milliseconds (default 15 minutes for CI stability under parallel load) * @param int $waitMs Time between polling attempts in milliseconds */ - protected function waitForAllAttributes(string $databaseId, string $containerId, int $timeoutMs = 600000, int $waitMs = 500): void + protected function waitForAllAttributes(string $databaseId, string $containerId, int $timeoutMs = 900000, int $waitMs = 500): void { $this->assertEventually(function () use ($databaseId, $containerId) { $container = $this->client->call(