Stop the `Shell.max_log_bytes` held-read test from failing coverage when the event poller is slow

Merged
MP
1mo ago
+2-1

Follow-up to #10712.

The merge-queue run for #10708 (run 39989866863) failed coverage at 99.99%. The only miss was tests/harness/shell/test_log_limits.py:99, the wait loop in _ReadsHeldUntilWritten, a test file #10708 doesn't touch. The loop holds an event read past the log's start until the command writes written. A slow poller may not read again until written already exists, so the loop never waits. #10712's own queue run covered the line.

This marks that one line # pragma: lax no cover, which the repo uses for timing-dependent lines (pyproject.toml). Nothing else changes.

Verification: test_events_report_a_log_cleared_and_regrown_between_reads passes; ruff is clean.

What changes for existing users: Nothing (test-only).

Checklist

  • No breaking changes in accordance with the version policy.
  • Any permitted compatibility impact has a label, warning, migration, release note, and exact API-check waiver.
  • PR title is fit for the release changelog.