Merge pull request #1454 from prometheus/beorn7/fix-test

Give TestEvictAndLoadChunkDescs more time to actually evict
This commit is contained in:
Fabian Reinartz 2016-04-08 14:58:01 +02:00
commit a18639dc2d

View File

@ -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)