zeek/testing/btest/cluster
Arne Welzel 888af244b2 btest/cluster/websocket: Harden multi-client tests
These test were very sensible to the speed at which ZeroMQ distributes
subscriptions in the cluster and showed to be unreliably when testing with
zeek/btest#113.

The main fix here is to have individual WebSocket clients subscribe to unique
topics, e.g /test/client-0 and /test/client-1, instead of just a shared topic.

This ensures the WebSocket handshake completes only when they observed their
own subscriptions and not prematurely when observing the shared topic.

This seems mainly relevant for tests: In the real world one shouldn't
rely on subscription visibility - you miss messages if you're too late
to the party.
2025-03-24 18:36:26 +01:00
..
broker btest/cluster: Bump timeouts to 30 seconds 2024-12-13 18:28:43 +01:00
generic cluster/serializer/broker: Fix handler lookup 2025-02-05 10:39:56 +01:00
websocket btest/cluster/websocket: Harden multi-client tests 2025-03-24 18:36:26 +01:00
zeromq cluster/zeromq: Fix unsubscription visibility 2025-03-24 18:36:16 +01:00
backend-enum.zeek btest: Add cluster dir, minimal test for enum value 2024-11-22 10:43:55 +01:00
serializer-enum.zeek cluster/serializer: Add binary-serialization-format 2024-12-04 12:40:35 +01:00