mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
Merge pull request #1901 from amorken/master
Run scrape loop with interval 1 instead of 0
This commit is contained in:
commit
16d70a8b6b
|
@ -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)
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in a new issue