Skip to content

test: reason strings for bare #[ignore] in matching and rsync_io - #7049

Merged
oferchen merged 1 commit into
masterfrom
test/ignore-reason-strings
Jul 29, 2026
Merged

test: reason strings for bare #[ignore] in matching and rsync_io#7049
oferchen merged 1 commit into
masterfrom
test/ignore-reason-strings

Conversation

@oferchen

Copy link
Copy Markdown
Owner

What

Convert the six bare #[ignore] attributes in the matching and rsync_io test crates to #[ignore = "<reason>"], lifting the reason from each test's existing adjacent doc comment.

Bare #[ignore] prints nothing about why a test is skipped; the = "reason" form surfaces it directly in cargo nextest / cargo test output, so a reader of a skipped-test line knows whether it is a resource-heavy opt-in or a genuine gap.

Scope

  • crates/matching/tests/sparse_match_fixture.rs (2) - 16 MB rolling-hash stress cases
  • crates/matching/src/index/sparse_match_tests.rs (1) - 100 MiB allocation stress case
  • crates/rsync_io/tests/concurrent_session_validation.rs (3) - 256/512 concurrent-session fd pressure and a timing-based assertion

No test bodies changed, nothing un-ignored, no already-reasoned attribute touched.

Verification

  • cargo fmt --all -- --check: clean
  • cargo clippy -p matching -p rsync_io --all-targets --all-features --no-deps -- -D warnings: clean
  • cargo nextest run -p matching -p rsync_io --all-features: 1484 passed, 6 skipped (the reasoned stress/timing cases, correctly not run)

@github-actions github-actions Bot added the test label Jul 29, 2026
@oferchen
oferchen merged commit 30cb78e into master Jul 29, 2026
65 of 66 checks passed
@oferchen
oferchen deleted the test/ignore-reason-strings branch July 29, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant