mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: extend wait timeout in TestNodeAdvance
This fixes the failure met in semaphore CI.
This commit is contained in:
parent
1f1d8e9282
commit
0de52414cd
@ -463,7 +463,7 @@ func TestNodeAdvance(t *testing.T) {
|
||||
n.Advance()
|
||||
select {
|
||||
case <-n.Ready():
|
||||
case <-time.After(time.Millisecond):
|
||||
case <-time.After(100 * time.Millisecond):
|
||||
t.Errorf("expect Ready after Advance, but there is no Ready available")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user