increment time for queue test
it's failing when machine slow (travis)
Juan Batiz-Benet committed
Sep 26, 2014 at 02:45 UTC
943c3df4161fce6a3e7c6fd8821492667e9d69e2
1 file changed
+1
-1
peer/queue/queue_test.go
+1
-1
@@ -72,7 +72,7 @@ func newPeerTime(t time.Time) *peer.Peer {
72
}
73
74
func TestSyncQueue(t *testing.T) {
75
- ctx, _ := context.WithTimeout(context.Background(), time.Second*2)
75
+ ctx, _ := context.WithTimeout(context.Background(), time.Second*4)
76
77
pq := NewXORDistancePQ(u.Key("11140beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a31"))
78
cq := NewChanQueue(ctx, pq)