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:
Arne Welzel 2025-09-25 16:43:29 +02:00
parent 5a10772b7d
commit 9dc1f9b211
4 changed files with 12 additions and 0 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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();