Increase all default timeouts in SchemaPolling trait from 2 minutes to
3 minutes to handle slower attribute processing in CI environments.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove explicit sleep and increase assertEventually timeout from 60s to
180s to account for slower deployment and scheduling in CI. Also use
assertGreaterThanOrEqual to handle cases where multiple executions
may have run.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Skip FunctionsCustomServerTest::testCreateFunctionAndDeploymentFromTemplateCommit when GitHub API is rate-limited or unavailable
- Increase waitForAllAttributes timeout to 3 minutes for testBulkDeleteMatchingUpdatedDocuments to handle slow attribute processing in CI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Attribute deletion is asynchronous - add sleep to wait for deletion
to complete before verifying the attribute no longer exists.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update expected default values to match the actual defaults (update
tests are skipped, so original defaults apply)
- Fix varchar_max -> varchar_min (varchar_max was never created)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove @depends annotation and set up phone number within the test
to ensure it works with PHPUnit 12 and paratest parallel execution.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove @depends annotation and create a new database within the test
to fix compatibility with PHPUnit 12 and paratest parallel execution.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace @depends annotations with static property assertions to fix
compatibility issues with PHPUnit 12 and paratest parallel execution.
Tests now use self::$databaseId and self::$collectionId/self::$tableId
directly instead of passing data between dependent tests.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PHPUnit 12 requires PHP 8.3+ and uses PHP enums like
CodeCoverageInitializationStatus. The old composer:2.0 image used
PHP 8.0.6 which doesn't support enums, causing autoloader issues.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PHPUnit's FileLoader::load() includes bootstrap files inside a function
scope. Without the global declaration, $register is created in local
scope and isn't accessible when other files (like resources.php) use
global $register to reference it.
Platform 0.7.15 introduced a breaking change that requires Utopia\Http
instead of Utopia\App, but framework 0.33.x still uses Utopia\App.
This pins platform to 0.7.14 which is compatible with the current
framework version.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>