mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Trick for parallelizing input framework unit tests.
Instead of loading listen.bro to block until files are read, just read a pcap file in pseudo-realtime. Seems to work well.
This commit is contained in:
parent
aff5898442
commit
43ed437daa
36 changed files with 50 additions and 210 deletions
|
@ -1,12 +1,7 @@
|
|||
# (uses listen.bro just to ensure input sources are more reliably fully-read).
|
||||
# @TEST-SERIALIZE: comm
|
||||
#
|
||||
# @TEST-EXEC: btest-bg-run bro bro -b %INPUT
|
||||
# @TEST-EXEC: btest-bg-run bro bro -b --pseudo-realtime -r $TRACES/socks.trace %INPUT
|
||||
# @TEST-EXEC: btest-bg-wait -k 5
|
||||
# @TEST-EXEC: btest-diff bro/.stderr
|
||||
|
||||
@load frameworks/communication/listen
|
||||
|
||||
global outfile: file;
|
||||
global try: count;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue