remove stray print statement in datagram test (#3828)

This commit is contained in:
Marten Seemann
2023-06-02 13:08:02 +03:00
committed by GitHub
parent 9899ec4126
commit cfa03394b5

View File

@@ -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
}