Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #473 from tpepper/master
Browse files Browse the repository at this point in the history
testutil: connect/disconnect make 1 result on event channel
  • Loading branch information
Tim Pepper authored Aug 17, 2016
2 parents 098caff + f5d2756 commit fef3872
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions testutil/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,12 @@ func (server *SsntpTestServer) EventNotify(uuid string, event ssntp.Event, frame
payload := frame.Payload

switch event {
// case ssntp.NodeConnected: handled by ConnectNotify()
// case ssntp.NodeDisconnected: handled by DisconnectNotify()
case ssntp.NodeConnected:
//handled by ConnectNotify()
return
case ssntp.NodeDisconnected:
//handled by DisconnectNotify()
return
case ssntp.TraceReport:
var traceEvent payloads.Trace

Expand Down

0 comments on commit fef3872

Please sign in to comment.