mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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 ```
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user