mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
cf7710b580
Realtime E2E tests were taking 24+ minutes due to intentional timeout waits. Many tests verify event filtering by expecting a TimeoutException, and each was waiting 45 seconds. Changes: - Reduce default WebSocket timeout from 45s to 2s in RealtimeBase - Add optional timeout parameter to getWebsocket() methods - Use longer timeouts (5-10s) for tests that legitimately wait for slow operations (function executions, test channel events) - Use named parameters for improved readability Performance impact: - Before: 24:07 minutes (1,447 seconds) - After: 1:09 minutes (69 seconds) - Speedup: ~21x faster Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>