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.
|
// Maintain series without any dropped chunks.
|
||||||
s.maintainMemorySeries(fp, 0)
|
s.maintainMemorySeries(fp, 0)
|
||||||
// Give the evict goroutine an opportunity to run.
|
// 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
|
// Maintain series again to trigger chunkDesc eviction
|
||||||
s.maintainMemorySeries(fp, 0)
|
s.maintainMemorySeries(fp, 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue