Unverified Commit cdecbe09 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Skip slow valued tombstone test under Miri (#98992)

### What?

Exclude `valued_tombstone_survives_partial_compaction` from Miri test
builds while keeping the test enabled for normal Rust test runs.

### Why?

The test takes about 16 minutes under Miri and is the sole long-tail
test after the rest of the suite finishes. Since nextest runs tests
concurrently, this one outlier determines most of the job's wall-clock
time. The next-slowest tests finish around 400 seconds, so excluding
this case should reduce the Miri job by roughly nine minutes without
removing the remaining tombstone-compaction coverage.

### How?

Gate only this test with `cfg(not(miri))` and document its measured CI
runtime next to the gate. The test body and its native behavior remain
unchanged.

Verification:

- Focused native test passes.
- The test is absent from the no-default-features Miri test inventory.
- Rust formatting and the no-default-features persistence check pass.


<!-- fleet fb42942f-173a-484c-b4de-4e18354834c6 -->
Co-authored-by: 's avatarvercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
Co-authored-by: 's avatarNiklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
parent 7516b200
...@@ -2339,6 +2339,8 @@ fn valued_tombstone_deletes_only_its_pair() -> Result<()> { ...@@ -2339,6 +2339,8 @@ fn valued_tombstone_deletes_only_its_pair() -> Result<()> {
/// A partial compaction must NOT drop a key-value tombstone: an unmerged older SST may still hold a /// A partial compaction must NOT drop a key-value tombstone: an unmerged older SST may still hold a
/// matching value, and dropping the tombstone would resurrect it. /// matching value, and dropping the tombstone would resurrect it.
// This test takes about 16 minutes under Miri and is too slow for the Miri CI job.
#[cfg(not(miri))]
#[test] #[test]
fn valued_tombstone_survives_partial_compaction() -> Result<()> { fn valued_tombstone_survives_partial_compaction() -> Result<()> {
let tempdir = tempfile::tempdir()?; let tempdir = tempfile::tempdir()?;
......
Markdown is supported
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