mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
btest/broker: Fix logging tests
This is a bit annoying: The logging framework looks at Cluster::backend to decide what should happen with log writes and only do the right thing if it was switched to broker.
This commit is contained in:
parent
5a10772b7d
commit
9dc1f9b211
4 changed files with 12 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
||||||
|
|
||||||
# @TEST-START-FILE common.zeek
|
# @TEST-START-FILE common.zeek
|
||||||
|
|
||||||
|
# Relies on Cluster::backend being properly set for logging.
|
||||||
|
@load frameworks/cluster/backend/broker
|
||||||
|
|
||||||
redef exit_only_after_terminate = T;
|
redef exit_only_after_terminate = T;
|
||||||
|
|
||||||
module Test;
|
module Test;
|
||||||
|
|
|
@ -13,6 +13,9 @@
|
||||||
|
|
||||||
# @TEST-START-FILE common.zeek
|
# @TEST-START-FILE common.zeek
|
||||||
|
|
||||||
|
# Relies on Cluster::backend being properly set for logging.
|
||||||
|
@load frameworks/cluster/backend/broker
|
||||||
|
|
||||||
redef exit_only_after_terminate = T;
|
redef exit_only_after_terminate = T;
|
||||||
|
|
||||||
module Test;
|
module Test;
|
||||||
|
|
|
@ -13,6 +13,9 @@
|
||||||
|
|
||||||
# @TEST-START-FILE common.zeek
|
# @TEST-START-FILE common.zeek
|
||||||
|
|
||||||
|
# Relies on Cluster::backend being properly set for logging.
|
||||||
|
@load frameworks/cluster/backend/broker
|
||||||
|
|
||||||
redef exit_only_after_terminate = T;
|
redef exit_only_after_terminate = T;
|
||||||
|
|
||||||
module Test;
|
module Test;
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
|
|
||||||
# @TEST-START-FILE common.zeek
|
# @TEST-START-FILE common.zeek
|
||||||
|
|
||||||
|
# Relies on Cluster::backend being properly set for logging.
|
||||||
|
@load frameworks/cluster/backend/broker
|
||||||
|
|
||||||
redef exit_only_after_terminate = T;
|
redef exit_only_after_terminate = T;
|
||||||
|
|
||||||
global quit_receiver: event();
|
global quit_receiver: event();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue