client_test.go | 4 +++- diff --git a/client_test.go b/client_test.go index 39118f61f87c6d607ba7a07d644e5912ab3de2f2..45cc5e01dfb9a7697f46cdcb3718be727298418c 100644 --- a/client_test.go +++ b/client_test.go @@ -173,7 +173,9 @@ } defer peer.Close() msgsReceived := 0 - const N = 5000 // How many messages to send. + // How many messages to send. I've set this to double the channel buffer + // size in the raw packetConn. + const N = 200 readerStopped := make(chan struct{}) // The reader goroutine. go func() {