Commit fea7f07e authored by Alex Brainman's avatar Alex Brainman

time: run full TestTicker test even during short tests

R=golang-dev, r, bradfitz, r
CC=golang-dev
https://golang.org/cl/5689076
parent 123130f7
...@@ -12,9 +12,6 @@ import ( ...@@ -12,9 +12,6 @@ import (
func TestTicker(t *testing.T) { func TestTicker(t *testing.T) {
const Count = 10 const Count = 10
Delta := 100 * Millisecond Delta := 100 * Millisecond
if testing.Short() {
Delta = 20 * Millisecond
}
ticker := NewTicker(Delta) ticker := NewTicker(Delta)
t0 := Now() t0 := Now()
for i := 0; i < Count; i++ { for i := 0; i < Count; i++ {
......
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