hashicorp / yamux

Golang connection multiplexing library
Mozilla Public License 2.0
2.23k stars 235 forks source link

`go test ./...` is failed #71

Closed win-t closed 2 years ago

win-t commented 6 years ago

go version : go version go1.11.1 linux/amd64 go test ./... output:

2018/10/29 06:57:50 [ERR] yamux: keepalive failed: i/o deadline reached
2018/10/29 06:57:50 [ERR] yamux: keepalive failed: i/o deadline reached
2018/10/29 06:57:50 [WARN] yamux: failed to send ping reply: session shutdown
--- FAIL: TestSendData_Large (0.58s)
    session_test.go:396: err: EOF
    session_test.go:427: err: session shutdown
2018/10/29 06:58:06 [WARN] yamux: failed to send ping reply: connection write timeout
FAIL
FAIL    github.com/hashicorp/yamux  17.765s
pmalhaire commented 5 years ago

@win-t it seems that it's the case with golang 1.12

go test ./... 2019/05/12 18:57:30 [ERR] yamux: keepalive failed: i/o deadline reached 2019/05/12 18:57:30 [ERR] yamux: Failed to write header: io: read/write on closed pipe --- FAIL: TestSendData_Large (0.38s) session_test.go:427: err: session shutdown session_test.go:396: err: keepalive timeout 2019/05/12 18:57:30 [ERR] yamux: Failed to write header: io: read/write on closed pipe 2019/05/12 18:57:38 [WARN] yamux: failed to send ping reply: connection write timeout FAIL FAIL github.com/hashicorp/yamux 9.764s