mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Merge pull request #1454 from prometheus/beorn7/fix-test
Give TestEvictAndLoadChunkDescs more time to actually evict
This commit is contained in:
commit
a18639dc2d
|
@ -1346,7 +1346,7 @@ func testEvictAndLoadChunkDescs(t *testing.T, encoding chunkEncoding) {
|
|||
// Maintain series without any dropped chunks.
|
||||
s.maintainMemorySeries(fp, 0)
|
||||
// Give the evict goroutine an opportunity to run.
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
time.Sleep(250 * time.Millisecond)
|
||||
// Maintain series again to trigger chunkDesc eviction
|
||||
s.maintainMemorySeries(fp, 0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue