Browse Source

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

Give TestEvictAndLoadChunkDescs more time to actually evict
pull/1541/head
Fabian Reinartz 9 years ago
parent
commit
a18639dc2d
  1. 2
      storage/local/storage_test.go

2
storage/local/storage_test.go

@ -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…
Cancel
Save