Skip to content

test: keep conditional-ramp fixture on direct I/O - #43

Merged
jfischoff merged 1 commit into
mainfrom
agent/fix-sample-probe-fixture
Aug 17, 2026
Merged

jfischoff merged 1 commit into
mainfrom
agent/fix-sample-probe-fixture

Conversation

@jfischoff

Copy link
Copy Markdown
Contributor

What changed

  • Disable the warm-cache sample probe in the fake CUDA conditional-ramp fixture.

Why

The fixture creates a tiny, page-hot file but is intended to exercise the O_DIRECT conditional-ramp branch. The new sample probe correctly classified that file as warm, bypassing O_DIRECT and making the ramp assertion fail on Linux. Sample-probe behavior is covered separately in tests/test_sample_probe.py.

Validation

  • pytest -q tests/test_parallel_read_integrity.py::TestConditionalRamp tests/test_sample_probe.py — 9 passed, 2 skipped
  • pytest -m 'not gpu and not network' -q — 251 passed, 5 skipped, 5 deselected
  • pre-commit run --all-files — passed

@jfischoff
jfischoff marked this pull request as ready for review August 17, 2026 18:24
@jfischoff
jfischoff merged commit dc0e1fc into main Aug 17, 2026
6 checks passed
@jfischoff
jfischoff deleted the agent/fix-sample-probe-fixture branch August 17, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant