Merge pull request #3801 from yichengq/fix-raft-timeout

raft: extend wait timeout in TestNodeAdvance
release-2.3
Xiang Li 2015-11-03 18:29:47 -08:00
commit 94c6b6a93d
1 changed files with 1 additions and 1 deletions

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