mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/publish-error-test-avoid-tsan-report'
* origin/topic/awelzel/publish-error-test-avoid-tsan-report: btest/broker/publish-errors: Avoid exit(0)
This commit is contained in:
commit
5e5d943273
5 changed files with 11 additions and 2 deletions
7
CHANGES
7
CHANGES
|
@ -1,3 +1,10 @@
|
|||
8.0.0-dev.508 | 2025-06-24 19:07:14 +0200
|
||||
|
||||
* btest/broker/publish-errors: Avoid exit(0) (Arne Welzel, Corelight)
|
||||
|
||||
Calling exit() doesn't properly shutdown the manager instances and TSAN reports a
|
||||
leaked thread. Just avoid this for now by using terminate() instead.
|
||||
|
||||
8.0.0-dev.506 | 2025-06-24 17:44:06 +0200
|
||||
|
||||
* DNS: Implement NAPTR RR support (Arne Welzel, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
8.0.0-dev.506
|
||||
8.0.0-dev.508
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in ../send.zeek, line 18: expected Broker::Event, got Cluster::Event (Broker::publish(/test/topic, <internal>::evt.18))
|
||||
received termination signal
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in ../send.zeek, line 18: expected Broker::Event, got Cluster::Event (Broker::publish(/test/topic, evt))
|
||||
received termination signal
|
||||
|
|
|
@ -31,7 +31,7 @@ event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
|||
local evt = Cluster::make_event(my_event, 42);
|
||||
local r = Broker::publish("/test/topic", evt);
|
||||
assert ! r; # Supposed to fail.
|
||||
exit(0);
|
||||
terminate();
|
||||
}
|
||||
# @TEST-END-FILE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue