Merge pull request #1901 from amorken/master

Run scrape loop with interval 1 instead of 0
This commit is contained in:
Tobias Schmidt 2016-08-18 13:36:05 -04:00 committed by GitHub
commit 16d70a8b6b

View file

@ -329,7 +329,7 @@ func TestScrapeLoopStop(t *testing.T) {
runDone := make(chan struct{})
go func() {
sl.run(0, 0, nil)
sl.run(1, 0, nil)
close(runDone)
}()