Debugging tests for AuthInfo (#1046)

* debug

* fix
This commit is contained in:
MakMukhi
2017-01-11 11:10:52 -08:00
committed by Qi Zhao
parent cb653e4b61
commit 50955793b0

View File

@ -155,6 +155,7 @@ func serverHandle(t *testing.T, hs serverHandshake, done chan AuthInfo, lis net.
serverAuthInfo, err := hs(serverRawConn)
if err != nil {
t.Errorf("Server failed while handshake. Error: %v", err)
serverRawConn.Close()
close(done)
return
}