Browse Source

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

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 #79319

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
pull/79571/head
Daniel Leung 9 months ago committed by Fabio Baltieri
parent
commit
667c01b658
  1. 7
      tests/subsys/input/api/testcase.yaml

7
tests/subsys/input/api/testcase.yaml

@ -9,6 +9,13 @@ tests: @@ -9,6 +9,13 @@ tests:
input.api.thread:
extra_configs:
- CONFIG_INPUT_MODE_THREAD=y
# 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.
- CONFIG_MP_MAX_NUM_CPUS=1
input.api.synchronous:
extra_configs:
- CONFIG_INPUT_MODE_SYNCHRONOUS=y

Loading…
Cancel
Save