mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
When setupAttributes() or setupIndexes() timed out during waitForAllAttributes/waitForAllIndexes, the cache was never populated. Subsequent test methods calling setup again would find empty cache, reuse the same collection IDs (from collection cache), and attempt to re-create existing attributes/indexes, resulting in 409 Conflict errors. Fix: populate the static cache immediately after successful creation (202 assertions), before the wait calls. This ensures retries skip creation and go straight to waiting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>