diff --git a/internal/handshake/crypto_setup_test.go b/internal/handshake/crypto_setup_test.go index 741a04794..a2cf5649b 100644 --- a/internal/handshake/crypto_setup_test.go +++ b/internal/handshake/crypto_setup_test.go @@ -177,6 +177,7 @@ var _ = Describe("Crypto Setup TLS", func() { case c := <-sChunkChan: client.HandleMessage(c.data, c.encLevel) case <-done: // handshake complete + return } } }()