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:
Yicheng Qin 2015-10-23 12:08:24 -07:00
parent 01559fafeb
commit bf3057e5bd

View File

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