btest/coverage: Avoid warnings in test-all-policy-cluster

This commit is contained in:
Arne Welzel 2024-12-11 17:11:00 +01:00
parent 0ad3210177
commit c6c6d88b4c
2 changed files with 8 additions and 0 deletions

View file

@ -1 +1,5 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. ### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
received termination signal
received termination signal
received termination signal
received termination signal

View file

@ -16,6 +16,10 @@
@load test-all-policy @load test-all-policy
# Flip this to broker to avoid warnings() due Broker::publish()
# calls in some scripts.
redef Cluster::backend = Cluster::CLUSTER_BACKEND_BROKER;
@TEST-START-FILE cluster-layout.zeek @TEST-START-FILE cluster-layout.zeek
redef Cluster::nodes = { redef Cluster::nodes = {
["manager"] = [$node_type=Cluster::MANAGER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT1"))], ["manager"] = [$node_type=Cluster::MANAGER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT1"))],