mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 13:17:36 +03:00
remove stray print statement in datagram test (#3828)
This commit is contained in:
parent
9899ec4126
commit
cfa03394b5
1 changed files with 1 additions and 4 deletions
|
@ -119,10 +119,7 @@ var _ = Describe("Datagram test", func() {
|
||||||
var counter int
|
var counter int
|
||||||
for {
|
for {
|
||||||
// Close the connection if no message is received for 100 ms.
|
// Close the connection if no message is received for 100 ms.
|
||||||
timer := time.AfterFunc(scaleDuration(100*time.Millisecond), func() {
|
timer := time.AfterFunc(scaleDuration(100*time.Millisecond), func() { conn.CloseWithError(0, "") })
|
||||||
fmt.Println("closing conn")
|
|
||||||
conn.CloseWithError(0, "")
|
|
||||||
})
|
|
||||||
if _, err := conn.ReceiveMessage(); err != nil {
|
if _, err := conn.ReceiveMessage(); err != nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue