Commit 496c030c authored by David du Colombier's avatar David du Colombier

time: increase timeout of TestOverflowRuntimeTimer on Plan 9

LGTM=dvyukov
R=dvyukov
CC=golang-codereviews
https://golang.org/cl/53000043
parent 03e4f258
......@@ -36,9 +36,13 @@ func CheckRuntimeTimerOverflow() error {
startTimer(r)
timeout := 100 * Millisecond
if runtime.GOOS == "windows" {
// Allow more time for gobuilder to succeed.
switch runtime.GOOS {
// Allow more time for gobuilder to succeed.
case "windows":
timeout = Second
case "plan9":
// TODO(0intro): We don't know why it is needed.
timeout = 3 * Second
}
// Start a goroutine that should send on t.C before the timeout.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment