btest/broker: Remove get_broker_stats() print

They seem mostly irrelevant for the tests and depending on what is
logged, the num_logs_outgoing changes, so just stop including them
in the baseline for now.
This commit is contained in:
Arne Welzel 2025-09-25 16:40:33 +02:00
parent 0ad1c78bae
commit e3373d31f0
6 changed files with 0 additions and 27 deletions

View file

@ -10,4 +10,3 @@ is_remote should be T, and is, T
receiver got ping: my-message, 4 receiver got ping: my-message, 4
is_remote should be T, and is, T is_remote should be T, and is, T
receiver got ping: my-message, 5 receiver got ping: my-message, 5
[num_peers=1, num_stores=0, num_pending_queries=0, num_events_incoming=5, num_events_outgoing=4, num_logs_incoming=0, num_logs_outgoing=1, num_ids_incoming=0, num_ids_outgoing=0]

View file

@ -10,4 +10,3 @@ is_remote should be T, and is, T
receiver got ping: my-message, 4 receiver got ping: my-message, 4
is_remote should be T, and is, T is_remote should be T, and is, T
receiver got ping: my-message, 5 receiver got ping: my-message, 5
[num_peers=1, num_stores=0, num_pending_queries=0, num_events_incoming=5, num_events_outgoing=4, num_logs_incoming=0, num_logs_outgoing=1, num_ids_incoming=0, num_ids_outgoing=0]

View file

@ -5,4 +5,3 @@ receiver got ping: my-message, 2
receiver got ping: my-message, 3 receiver got ping: my-message, 3
receiver got ping: my-message, 4 receiver got ping: my-message, 4
receiver got ping: my-message, 5 receiver got ping: my-message, 5
[num_peers=1, num_stores=0, num_pending_queries=0, num_events_incoming=5, num_events_outgoing=4, num_logs_incoming=0, num_logs_outgoing=1, num_ids_incoming=0, num_ids_outgoing=0]

View file

@ -1,7 +1,5 @@
# @TEST-GROUP: broker # @TEST-GROUP: broker
# #
# @TEST-REQUIRES: $SCRIPTS/have-spicy # The logging of Broker's `num_logs_outgoing` depends on whether the Spicy plugin is loaded or not.
#
# @TEST-PORT: BROKER_PORT # @TEST-PORT: BROKER_PORT
# #
# @TEST-EXEC: btest-bg-run recv "zeek -b ../recv.zeek >recv.out" # @TEST-EXEC: btest-bg-run recv "zeek -b ../recv.zeek >recv.out"
@ -98,10 +96,4 @@ event ping(msg: string, n: count)
local e = Broker::make_event(pong, msg, n); local e = Broker::make_event(pong, msg, n);
Broker::publish("zeek/event/my_topic", e); Broker::publish("zeek/event/my_topic", e);
} }
event zeek_done()
{
print get_broker_stats();
}
# @TEST-END-FILE # @TEST-END-FILE

View file

@ -1,7 +1,5 @@
# @TEST-GROUP: broker # @TEST-GROUP: broker
# #
# @TEST-REQUIRES: $SCRIPTS/have-spicy # The logging of Broker's `num_logs_outgoing` depends on whether the Spicy plugin is loaded or not.
#
# @TEST-PORT: BROKER_PORT # @TEST-PORT: BROKER_PORT
# #
# @TEST-EXEC: btest-bg-run recv "zeek -b ../recv.zeek >recv.out" # @TEST-EXEC: btest-bg-run recv "zeek -b ../recv.zeek >recv.out"
@ -106,10 +104,4 @@ event ping(msg: string, n: any)
# internals should not wrap n into another Broker::Data record # internals should not wrap n into another Broker::Data record
Broker::publish("zeek/event/my_topic", pong, msg, n); Broker::publish("zeek/event/my_topic", pong, msg, n);
} }
event zeek_done()
{
print get_broker_stats();
}
# @TEST-END-FILE # @TEST-END-FILE

View file

@ -1,7 +1,5 @@
# @TEST-GROUP: broker # @TEST-GROUP: broker
# #
# @TEST-REQUIRES: $SCRIPTS/have-spicy # The logging of Broker's `num_logs_outgoing` depends on whether the Spicy plugin is loaded or not.
#
# @TEST-PORT: BROKER_PORT # @TEST-PORT: BROKER_PORT
# #
# @TEST-EXEC: btest-bg-run recv "zeek -b ../recv.zeek >recv.out" # @TEST-EXEC: btest-bg-run recv "zeek -b ../recv.zeek >recv.out"
@ -235,10 +233,4 @@ event ping(msg: string, n: count)
local e = Broker::make_event(pong, msg, n); local e = Broker::make_event(pong, msg, n);
Broker::publish("zeek/event/my_topic", e); Broker::publish("zeek/event/my_topic", e);
} }
event zeek_done()
{
print get_broker_stats();
}
# @TEST-END-FILE # @TEST-END-FILE