mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
fixing merge mistakes
Signed-off-by: Mauro Stettler <mauro.stettler@gmail.com>
This commit is contained in:
parent
6ed72dadca
commit
33a0fb58d5
|
@ -1461,6 +1461,10 @@ func TestSizeRetention(t *testing.T) {
|
|||
}
|
||||
require.NoError(t, headApp.Commit())
|
||||
|
||||
require.Eventually(t, func() bool {
|
||||
return db.Head().chunkDiskMapper.IsQueueEmpty()
|
||||
}, 2*time.Second, 100*time.Millisecond)
|
||||
|
||||
// Test that registered size matches the actual disk size.
|
||||
require.NoError(t, db.reloadBlocks()) // Reload the db to register the new db size.
|
||||
require.Equal(t, len(blocks), len(db.Blocks())) // Ensure all blocks are registered.
|
||||
|
|
Loading…
Reference in a new issue