Repository navigation
De-flake the HUD end-to-end checks - #54
Merged
Merged
Conversation
- Jog check: poll the pan for up to 3 s instead of reading it once right after release (a reply arriving late on a slow runner failed it in CI). - Calibration checks: the mock's target leaves the frame 4 s of every 20 s, so a record could land on a vanished target and count as a miss. New mock flag --stay keeps the target locked; the main e2e mock uses it. - Wait for the DevTools port to be free before launching the browser and after killing it: on Windows a killed Edge's children can hold the port, and the next run attached to the dying browser. - The P2 check prints more state when it fails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
hud-e2efailed once in CI on #53 (31/32, the jog check), even though #53 didn't touch the HUD or the mock. A rerun passed. Running the harness locally in a loop turned up three separate sources of flakiness.--stay(always locked, id 1) for the main e2e mock; no check needs the target to leaveConnectionClosedErrorThe P2 check also prints more state if it ever fails again.
Verification
test_stay_never_leaves.