Skip to content

Commit 745ff04

Browse files
committed
debug
1 parent c148936 commit 745ff04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

credentials/credentials_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,12 @@ func TestTLSServerHandshakeReturnsAuthInfo(t *testing.T) {
135135
serverRawConn, sErr := lis.Accept()
136136
if sErr != nil {
137137
t.Errorf("Server failed to accept connection: %v", sErr)
138+
return
138139
}
139140
_, serverAuthInfo, sErr = serverTLS.ServerHandshake(serverRawConn)
140141
if sErr != nil {
141142
t.Errorf("Error on server while handshake. Error: %v", sErr)
143+
return
142144
}
143145
}()
144146
conn, err := net.Dial("tcp", lis.Addr().String())

0 commit comments

Comments
 (0)