Merge pull request #1084 from prometheus/beorn7/storage

Increase waiting time in TestEvictAndLoadChunkDescs
This commit is contained in:
Björn Rabenstein 2015-09-14 21:23:12 +02:00
commit 6561897853

View file

@ -1200,7 +1200,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(10 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
// Maintain series again to trigger chunkDesc eviction
s.maintainMemorySeries(fp, 0)