mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00: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 New Issue
Block a user