forked from quic-go/quic-go
remove stray assertion that handshakes are running from tests (#5123)
The RunHandshake method this function was basing its assertion on was removed a long time ago.
This commit is contained in:
@@ -498,8 +498,6 @@ func testFaultyPacketConn(t *testing.T, pers protocol.Perspective) {
|
||||
require.True(t, nerr.Timeout())
|
||||
}
|
||||
|
||||
require.Eventually(t, func() bool { return !areHandshakesRunning() }, 5*handshakeTimeout, 5*time.Millisecond)
|
||||
|
||||
select {
|
||||
case serverErr := <-serverErrChan: // The handshake completed on the server side.
|
||||
require.Error(t, serverErr)
|
||||
|
||||
Reference in New Issue
Block a user