mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Test changes caused by minor order-of-operation changes related to the new loop architecture
This commit is contained in:
parent
a2a2ff325f
commit
2dcc936787
3 changed files with 7 additions and 3 deletions
|
@ -21,7 +21,7 @@ redef Cluster::nodes = {
|
|||
@TEST-END-FILE
|
||||
|
||||
redef Log::default_rotation_interval = 0secs;
|
||||
#redef exit_only_after_terminate = T;
|
||||
redef exit_only_after_terminate = T;
|
||||
|
||||
@load base/frameworks/netcontrol
|
||||
|
||||
|
@ -75,5 +75,9 @@ event NetControl::rule_added(r: NetControl::Rule, p: NetControl::PluginState, ms
|
|||
event NetControl::rule_destroyed(r: NetControl::Rule)
|
||||
{
|
||||
if ( r$entity?$ip )
|
||||
{
|
||||
print "Rule destroyed", r$id, r$cid, |NetControl::find_rules_subnet(r$entity$ip)|;
|
||||
if ( Cluster::local_node_type() == Cluster::WORKER )
|
||||
schedule 2sec { terminate_me() };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue