mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Make communication log baseline test more reliable.
This commit is contained in:
parent
9c42f02082
commit
ec6560a6ed
2 changed files with 17 additions and 14 deletions
|
@ -15,7 +15,7 @@ redef Communication::nodes += {
|
|||
["foo"] = [$host = 127.0.0.1, $events = /NOTHING/, $connect=T]
|
||||
};
|
||||
|
||||
event remote_connection_established(p: event_peer)
|
||||
event remote_connection_handshake_done(p: event_peer)
|
||||
{
|
||||
terminate_communication();
|
||||
terminate();
|
||||
|
@ -29,8 +29,9 @@ event remote_connection_established(p: event_peer)
|
|||
|
||||
@load frameworks/communication/listen
|
||||
|
||||
event remote_connection_closed(p: event_peer)
|
||||
event remote_connection_handshake_done(p: event_peer)
|
||||
{
|
||||
terminate_communication();
|
||||
terminate();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue