mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
testTimeout was using setupDatabase() to get the shared database, creating a collection within it, then deleting the entire database at cleanup. This destroyed the shared Movies/Actors/Books collections, causing testNotSearch and other tests relying on the shared database to fail with 404. Fix: only delete the test collection, not the shared database. Also add waitForAttribute to prevent intermittent failures from attribute not being available when inserting documents. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>