mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: extend wait timeout in TestMultiNodeAdvance
This fixes the failure met in semaphore CI: ``` --- FAIL: TestMultiNodeAdvance-2 (0.01s) multinode_test.go:458: expect Ready after Advance, but there is no Ready available ```
This commit is contained in:
parent
01559fafeb
commit
bf3057e5bd
@ -454,7 +454,7 @@ func TestMultiNodeAdvance(t *testing.T) {
|
||||
mn.Advance(rd1)
|
||||
select {
|
||||
case <-mn.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