mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: fix TestTransportErrorc
CI can be slow. We should just wait longer.
This commit is contained in:
parent
5cbd8cefc9
commit
4d0f474034
@ -146,10 +146,9 @@ func TestTransportErrorc(t *testing.T) {
|
||||
}
|
||||
tr.peers[1].send(raftpb.Message{})
|
||||
|
||||
testutil.WaitSchedule()
|
||||
select {
|
||||
case <-errorc:
|
||||
default:
|
||||
case <-time.After(1 * time.Second):
|
||||
t.Fatalf("cannot receive error from errorc")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user