Merge pull request #7081 from gyuho/timeout-rafthttp

rafthttp: bump up timeout in pipeline test
This commit is contained in:
Gyu-Ho Lee 2016-12-30 10:14:12 -08:00 committed by GitHub
commit 29e14dde0c

View File

@ -78,7 +78,7 @@ func TestPipelineExceedMaximumServing(t *testing.T) {
for i := 0; i < connPerPipeline+pipelineBufSize; i++ {
select {
case p.msgc <- raftpb.Message{}:
case <-time.After(10 * time.Millisecond):
case <-time.After(time.Second):
t.Errorf("failed to send out message")
}
}