-
Alex Brainman authored
Do not assume that a particular code path is selected in WithTimeout. Also Windows cannot wait for less then 15 millisecond, so use that instead of 1 nanosecond in test. Otherwise test takes too long while it looks like it is quick. Fixes golang/go#8033. LGTM=crawshaw R=golang-codereviews, crawshaw CC=golang-codereviews https://golang.org/cl/103470044
6b9623cc