Merge pull request #3744 from yichengq/fix-sem

raft: extend wait timeout in TestMultiNodeAdvance
This commit is contained in:
Yicheng Qin 2015-10-23 13:20:52 -07:00
commit 4f47b08cf6

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