|
@@ -52,7 +52,7 @@ func TestWriteReadTimeoutListener(t *testing.T) {
|
|
|
defer conn.Close()
|
|
defer conn.Close()
|
|
|
|
|
|
|
|
// fill the socket buffer
|
|
// fill the socket buffer
|
|
|
- data := make([]byte, 1024*1024)
|
|
|
|
|
|
|
+ data := make([]byte, 5*1024*1024)
|
|
|
timer := time.AfterFunc(wln.wtimeoutd*5, func() {
|
|
timer := time.AfterFunc(wln.wtimeoutd*5, func() {
|
|
|
t.Fatal("wait timeout")
|
|
t.Fatal("wait timeout")
|
|
|
})
|
|
})
|