Make communication log baseline test more reliable.

This commit is contained in:
Jon Siwek 2012-01-13 16:06:44 -06:00
parent 9c42f02082
commit ec6560a6ed
2 changed files with 17 additions and 14 deletions

View file

@ -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();
}