This commit introduced two problems:
- It sets the go-ping timeout to the per-ping timeout value. The timeout in
go-ping is not the per-ping timeout. It is the timeout for exiting the pinger. The go-ping timeout should be set to the deadline value. go-ping does not appear to have a way to set the per-ping timeout value.
- It removed the sorting of the rtts before calculating the percentiles, which means the percentile calculation cannot work.
This commit introduced two problems:
go-pingis not the per-ping timeout. It is the timeout for exiting the pinger. Thego-pingtimeout should be set to thedeadlinevalue.go-pingdoes not appear to have a way to set the per-ping timeout value.