mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
![]() 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. |
||
---|---|---|
.. | ||
benchmark/broker | ||
btest | ||
builtin-plugins | ||
coverage | ||
external | ||
scripts | ||
.gitignore | ||
CMakeLists.txt | ||
Makefile | ||
README |
This directory contains suites for testing for Zeek's correct operation: btest/ An ever-growing set of small unit tests testing Zeek's functionality. external/ A framework for downloading additional test sets that run more complex Zeek configuration on larger traces files. Due to their size, these are not included directly. See the README for more information. scripts/ Helpers scripts used by some tests.