mirror of
https://github.com/golang/go
synced 2024-11-25 00:07:56 -07:00
time: run full TestTicker test even during short tests
R=golang-dev, r, bradfitz, r CC=golang-dev https://golang.org/cl/5689076
This commit is contained in:
parent
123130f789
commit
fea7f07e56
@ -12,9 +12,6 @@ import (
|
||||
func TestTicker(t *testing.T) {
|
||||
const Count = 10
|
||||
Delta := 100 * Millisecond
|
||||
if testing.Short() {
|
||||
Delta = 20 * Millisecond
|
||||
}
|
||||
ticker := NewTicker(Delta)
|
||||
t0 := Now()
|
||||
for i := 0; i < Count; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user