提交 943c3df4 作者: Juan Batiz-Benet

increment time for queue test

it's failing when machine slow (travis)
上级 e6b96b9c
......@@ -72,7 +72,7 @@ func newPeerTime(t time.Time) *peer.Peer {
}
func TestSyncQueue(t *testing.T) {
ctx, _ := context.WithTimeout(context.Background(), time.Second*2)
ctx, _ := context.WithTimeout(context.Background(), time.Second*4)
pq := NewXORDistancePQ(u.Key("11140beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a31"))
cq := NewChanQueue(ctx, pq)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论