cybozu-go / goma

An extensible monitoring agent in Go.
MIT License
125 stars 13 forks source link

[TODO] Fix test for HTTP cancellation. #6

Closed ymmt2005 closed 3 years ago

ymmt2005 commented 8 years ago

As of Go 1.7, net/http cannot provide context.DeadlineExceeded when a request is canceled. It will be fixed in https://go-review.googlesource.com/#/c/24978/.

We need to fix the test when the change comes: https://github.com/cybozu-go/goma/blob/master/actions/http/action_test.go#L275-L280