mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
btest/suspend_processing/websocket: Use ZeroMQ
This commit is contained in:
parent
ff6b39ba18
commit
a27f711ad6
1 changed files with 6 additions and 1 deletions
|
@ -2,19 +2,24 @@
|
|||
#
|
||||
# @TEST-REQUIRES: python3 -c 'import websockets.sync'
|
||||
#
|
||||
# @TEST-PORT: XPUB_PORT
|
||||
# @TEST-PORT: XSUB_PORT
|
||||
# @TEST-PORT: WEBSOCKET_PORT
|
||||
#
|
||||
# @TEST-EXEC: cp $FILES/zeromq/single-node.zeek zeromq-single-node.zeek
|
||||
# @TEST-EXEC: cp $FILES/ws/wstest.py .
|
||||
#
|
||||
# @TEST-EXEC: zeek --parse-only %INPUT
|
||||
#
|
||||
# @TEST-EXEC: btest-bg-run worker "zeek -r $TRACES/wikipedia.trace -b %INPUT"
|
||||
# @TEST-EXEC: btest-bg-run worker "ZEEKPATH=..:$ZEEKPATH zeek -r $TRACES/wikipedia.trace -b %INPUT"
|
||||
# @TEST-EXEC: btest-bg-run client "python3 ../client.py"
|
||||
# @TEST-EXEC: btest-bg-wait 30
|
||||
#
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff worker/.stdout
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff client/.stdout
|
||||
|
||||
@load zeromq-single-node
|
||||
|
||||
global my_new_connection: event(uid: string, c: count);
|
||||
|
||||
event zeek_init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue