mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
finishing touches, make test more robust, rename function in last again
This commit is contained in:
parent
80962ad74b
commit
ab6d5b08a8
5 changed files with 26 additions and 17 deletions
|
@ -5,8 +5,8 @@
|
|||
# @TEST-EXEC: btest-bg-run worker-1 BROPATH=$BROPATH:.. CLUSTER_NODE=worker-1 bro %INPUT
|
||||
# @TEST-EXEC: btest-bg-run worker-2 BROPATH=$BROPATH:.. CLUSTER_NODE=worker-2 bro %INPUT
|
||||
# @TEST-EXEC: btest-bg-wait 15
|
||||
|
||||
# @TEST-EXEC: btest-diff manager-1/.stdout
|
||||
# @TEST-EXEC: cat manager-1/.stdout | sort > out
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
@TEST-START-FILE cluster-layout.bro
|
||||
redef Cluster::nodes = {
|
||||
|
@ -31,7 +31,9 @@ event bro_init() &priority=5
|
|||
{
|
||||
print key$host;
|
||||
local r = rt[key]["test"];
|
||||
print r$samples;
|
||||
for ( sample in r$samples ) {
|
||||
print r$samples[sample];
|
||||
}
|
||||
print r$sample_elements;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue