You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: test_v4l2_udev_poll_error flakes on its 50 ms wall-clock bound #2198
This happened in run 40119239268, on Linux Tier 2 with tests on, for #2194, which doesn't touch v4l2. The loop did return and logged the expected warning. It just took 50 ms or more of wall clock on a loaded runner.
run_with_fd() already proves that the loop stops instead of spinning:
returned is true only if the loop exited by itself within the 500 × 1 ms wait;
run.iterations <= 2 bounds how many polls it made.
So elapsed < 50 adds no coverage. It only fails when the runner is slow.
Fix
Drop the wall-clock assert and keep returned and iterations <= 2. That is test-only. The test still fails if the udev loop spins on a poll error (#1280).
Activity
rdoupe commentedon Oct 24, 2026
Claiming: #2198.
test: Drop the wall-clock bound from test_v4l2_udev_poll_error (obs-r…