Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: input/api: limit to 1 CPU for thread mode test #79349

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dcpleung
Copy link
Member

@dcpleung dcpleung commented Oct 2, 2024

The test for being unable to push another message into full queue would fail if there are another CPU processing the callbacks, thus making the queue non-full. So limit this to 1 CPU only so the test assumptions can be fulfilled.

Fixes #79319

@dcpleung dcpleung marked this pull request as ready for review October 3, 2024 16:20
@zephyrbot zephyrbot added the area: Input Input Subsystem and Drivers label Oct 3, 2024
There is a check to see if it is no longer able to push more
messages into a full queue. When these is another CPU consuming
messages, the queue would not be full at that point. A new message
can be pushed into the queue and thus failing the "full queue"
check. So limit this to 1 CPU only so this check's assumption
can be fulfilled.

Fixes zephyrproject-rtos#79319

Signed-off-by: Daniel Leung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Input Input Subsystem and Drivers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: tests/subsys/input/api/input.api.thread FAILED on intel_adsp/cavs25
3 participants