forked from quic-go/quic-go
remove stray print statement in datagram test (#3828)
This commit is contained in:
@@ -119,10 +119,7 @@ var _ = Describe("Datagram test", func() {
|
||||
var counter int
|
||||
for {
|
||||
// Close the connection if no message is received for 100 ms.
|
||||
timer := time.AfterFunc(scaleDuration(100*time.Millisecond), func() {
|
||||
fmt.Println("closing conn")
|
||||
conn.CloseWithError(0, "")
|
||||
})
|
||||
timer := time.AfterFunc(scaleDuration(100*time.Millisecond), func() { conn.CloseWithError(0, "") })
|
||||
if _, err := conn.ReceiveMessage(); err != nil {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user