Commit 9a445600 authored by Alex Brainman's avatar Alex Brainman

time: run TestTicker for longer during short test, otherwise it fails

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5671049
parent 60797a37
......@@ -13,7 +13,7 @@ func TestTicker(t *testing.T) {
const Count = 10
Delta := 100 * Millisecond
if testing.Short() {
Delta = 10 * Millisecond
Delta = 20 * Millisecond
}
ticker := NewTicker(Delta)
t0 := Now()
......
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