laravel-websockets/tests
Fabian @ Blax Software ca90561c9d test(fork): extract fork-child connection reset into a tested method
The per-message fork child's Redis/cache/session isolation (#1445) was inline
in forkWithSocketPair() with no test — verified only by watching prod. Extract
it into Handler::resetInheritedConnectionsInChild() (behavior-preserving) and
add ForkChildConnectionResetTest: asserts it disconnects every host-bearing
connection, skips the client/options pseudo-entries, and never throws when the
redis manager is unresolvable. A future refactor that drops a connection now
fails CI instead of re-opening the predis desync flood.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-30 10:14:36 +02:00
..
Apps A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
Cache A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
Commands A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
Handlers Renovation 2025-01-16 08:54:02 +01:00
Ipc A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
Mocks I stability 2026-03-21 12:56:50 +01:00
Models Renovation 2025-01-16 08:54:02 +01:00
Unit feat: integrate websocket routes into Laravel's route list; implement RouteListInjector for attribute-tagged methods and legacy controllers; add tests for route injection and collection 2026-04-29 09:26:53 +02:00
Websocket A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
database/factories Renovation 2025-01-16 08:54:02 +01:00
AsyncRedisQueueTest.php Renovation 2025-01-16 08:54:02 +01:00
ConnectionTest.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
ForkChildConnectionResetTest.php test(fork): extract fork-child connection reset into a tested method 2026-08-30 10:14:36 +02:00
HandlerLifecycleTest.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
HealthTest.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
LocalPongRemovalTest.php Renovation 2025-01-16 08:54:02 +01:00
OpenPresenceChannelFeatureTest.php I open presence channel test 2026-04-21 16:52:44 +02:00
PingTest.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
PresenceChannelTest.php C linting 2026-04-02 12:44:31 +02:00
PrivateChannelTest.php C linting 2026-04-02 12:44:31 +02:00
PublicChannelTest.php C linting 2026-04-02 12:44:31 +02:00
RedisPongRemovalTest.php Renovation 2025-01-16 08:54:02 +01:00
ReplicationTest.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
TestCase.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
TestServiceProvider.php Renovation 2025-01-16 08:54:02 +01:00
WebsocketServiceTest.php A tests, documentation for helpers and lifecycle 2026-04-02 12:44:16 +02:00
bootstrap.php I performance, A testing & event-driven 2026-01-24 13:34:29 +01:00