Skip to content
Snippets Groups Projects
Unverified Commit a2f90720 authored by Matthias Rampke's avatar Matthias Rampke
Browse files

test(tsdb): break up repeated test to avoid timeout

On macOS, the TestTombstoneCleanRetentionLimitsRace performs very
poorly. It takes more than a second to write out one block, and as it
writes 400 of them, we run into the 10-minute test timeout frequently.

While this doesn't fix the actual performance issue, breaking each
iteration into a subtest makes the test pass reliably (because each
iteration comfortably finishes in under a minute).

Related report: https://groups.google.com/g/prometheus-developers/c/jxQ6Ayg6VJ4/m/03H_DS9PDAAJ



Signed-off-by: default avatarMatthias Rampke <matthias@prometheus.io>
parent eb1617eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment