Merge pull request #158 from ardan-bkennedy/patch-1

Update go_collector_test.go
This commit is contained in:
Fabian Reinartz 2015-08-12 22:22:03 +02:00
commit dd33f764bd
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ func TestGoCollector(t *testing.T) {
t.Errorf("want 1 new goroutine, got %d", diff)
}
// GoCollector performs two sends per call.
// On line 27 we need to revceive the second send
// to shutdown cleanly.
<-ch
return
}
case <-time.After(1 * time.Second):