btest/cluster: Prepare for non-Broker default

This commit is contained in:
Arne Welzel 2025-09-24 13:24:49 +02:00
parent 6ce9a33002
commit 8d3a62edc1
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
### 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.
error in <...>/cluster-publish-errors.zeek, line 58: Publish of unknown record type 'Cluster::MyEvent' (Cluster::publish(topic, Cluster::MyEvent())) error in <...>/cluster-publish-errors.zeek, line 61: Publish of unknown record type 'Cluster::MyEvent' (Cluster::publish(topic, Cluster::MyEvent()))
error in <...>/cluster-publish-errors.zeek, line 65: Publish of unknown record type 'Cluster::MyEvent' (Cluster::publish_hrw(Cluster::proxy_pool, key, Cluster::MyEvent())) error in <...>/cluster-publish-errors.zeek, line 68: Publish of unknown record type 'Cluster::MyEvent' (Cluster::publish_hrw(Cluster::proxy_pool, key, Cluster::MyEvent()))
error in <...>/cluster-publish-errors.zeek, line 72: Publish of unknown record type 'Cluster::MyEvent' (Cluster::publish_rr(Cluster::proxy_pool, key, Cluster::MyEvent())) error in <...>/cluster-publish-errors.zeek, line 75: Publish of unknown record type 'Cluster::MyEvent' (Cluster::publish_rr(Cluster::proxy_pool, key, Cluster::MyEvent()))

View file

@ -7,6 +7,9 @@
module Cluster; module Cluster;
# Enable the Broker backend.
redef Cluster::backend = Cluster::CLUSTER_BACKEND_BROKER;
event ping1(c: count, how: string) &is_used event ping1(c: count, how: string) &is_used
{ {
} }