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
Branches
No related tags found
No related merge requests found
...@@ -214,7 +214,7 @@ func TestProcessGraph(t *testing.T) { ...@@ -214,7 +214,7 @@ func TestProcessGraph(t *testing.T) {
} }
ch := make(chan error) ch := make(chan error)
go ProcessGraph(sg, ch) go ProcessGraph(sg, ch, time.Minute)
err = <-ch err = <-ch
if err != nil { if err != nil {
t.Error(err) t.Error(err)
...@@ -306,7 +306,7 @@ func TestToJson(t *testing.T) { ...@@ -306,7 +306,7 @@ func TestToJson(t *testing.T) {
} }
ch := make(chan error) ch := make(chan error)
go ProcessGraph(sg, ch) go ProcessGraph(sg, ch, time.Minute)
err = <-ch err = <-ch
if err != nil { if err != nil {
t.Error(err) t.Error(err)
...@@ -347,7 +347,7 @@ func TestPreTraverse(t *testing.T) { ...@@ -347,7 +347,7 @@ func TestPreTraverse(t *testing.T) {
} }
ch := make(chan error) ch := make(chan error)
go ProcessGraph(sg, ch) go ProcessGraph(sg, ch, time.Minute)
err = <-ch err = <-ch
if err != nil { if err != nil {
t.Error(err) t.Error(err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment