raft: extend wait timeout in TestNodeAdvance

This fixes the failure met in semaphore CI.
This commit is contained in:
Yicheng Qin 2015-11-03 16:57:18 -08:00
parent 1f1d8e9282
commit 0de52414cd

View File

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