Merge pull request #3808 from yichengq/fix-wait-test

pkg/wait: extend wait timeout in TestWaitTime
This commit is contained in:
Yicheng Qin
2015-11-04 11:39:24 -08:00

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")
}