Skip to content

Moza tests: wait for the rim before reading its settings - #15

Merged
Adiakys merged 1 commit into
mainfrom
moza-rim-test-wait
Nov 1, 2026
Merged

Adiakys merged 1 commit into
mainfrom
moza-rim-test-wait

Conversation

@Adiakys

@Adiakys Adiakys commented Nov 1, 2026

Copy link
Copy Markdown
Owner

The rim test asked for the steering wheel's settings as soon as the base was ready. Since the base's serial port has its own thread (#14), the rim is found a moment later, so on a slower machine the test asked too early: it failed the v0.2.0-rc.5 release build (the same commit passed on the PR).

The test now waits for the rim to answer. With the thread's first poll delayed by 300 ms, the old test fails exactly as in the release build and the new one passes; the plugin's code is unchanged.

🤖 Generated with Claude Code

The port's thread finds the rim a moment after the base is ready, so the
rim test could ask for its settings too early on a slower machine: it
failed the v0.2.0-rc.5 release build. It now waits for the rim to answer,
and passes with the thread's first poll delayed by 300 ms, where it failed
before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Adiakys
Adiakys merged commit 0db95c2 into main Nov 1, 2026
2 checks passed
@Adiakys
Adiakys deleted the moza-rim-test-wait branch November 3, 2026 23:48
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