pkg/wait: extend wait timeout in TestWaitTime

Fix this error happening on travis:
```
--- FAIL: TestWaitTime-2 (0.01s)
		wait_time_test.go:46: cannot receive from ch as expected
```
release-2.3
Yicheng Qin 2015-11-04 11:18:17 -08:00
parent 94c6b6a93d
commit 3b8349c06e
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func TestWaitTime(t *testing.T) {
wt.Trigger(t1)
select {
case <-ch1:
case <-time.After(10 * time.Millisecond):
case <-time.After(100 * time.Millisecond):
t.Fatalf("cannot receive from ch as expected")
}