Skip to content
Snippets Groups Projects
Commit c455febd authored by Manish R Jain's avatar Manish R Jain
Browse files

Fix the test breakage

parent c06961f7
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment