mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +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,8 +1,5 @@
|
|||
# (uses listen.bro just to ensure input sources are more reliably fully-read).
|
||||
# @TEST-SERIALIZE: comm
|
||||
#
|
||||
# @TEST-EXEC: cp input1.log input.log
|
||||
# @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: sleep 2
|
||||
# @TEST-EXEC: cp input2.log input.log
|
||||
# @TEST-EXEC: btest-bg-wait -k 5
|
||||
|
@ -23,9 +20,6 @@
|
|||
2 TEST TEST
|
||||
@TEST-END-FILE
|
||||
|
||||
@load frameworks/communication/listen
|
||||
|
||||
|
||||
module A;
|
||||
|
||||
type Idx: record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue