From c455febd42757f5b3a5d69c29da401a3aafea487 Mon Sep 17 00:00:00 2001
From: Manish R Jain <manishrjain@gmail.com>
Date: Mon, 2 May 2016 11:50:36 +1000
Subject: [PATCH] Fix the test breakage

---
 query/query_test.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/query/query_test.go b/query/query_test.go
index 56dc9dfb..7cf511dc 100644
--- a/query/query_test.go
+++ b/query/query_test.go
@@ -214,7 +214,7 @@ func TestProcessGraph(t *testing.T) {
 	}
 
 	ch := make(chan error)
-	go ProcessGraph(sg, ch)
+	go ProcessGraph(sg, ch, time.Minute)
 	err = <-ch
 	if err != nil {
 		t.Error(err)
@@ -306,7 +306,7 @@ func TestToJson(t *testing.T) {
 	}
 
 	ch := make(chan error)
-	go ProcessGraph(sg, ch)
+	go ProcessGraph(sg, ch, time.Minute)
 	err = <-ch
 	if err != nil {
 		t.Error(err)
@@ -347,7 +347,7 @@ func TestPreTraverse(t *testing.T) {
 	}
 
 	ch := make(chan error)
-	go ProcessGraph(sg, ch)
+	go ProcessGraph(sg, ch, time.Minute)
 	err = <-ch
 	if err != nil {
 		t.Error(err)
-- 
GitLab