Skip to content
Commit 4b159363 authored by Daniel Leung's avatar Daniel Leung Committed by Chris Friedt
Browse files

tests: kernel/smp_boot_delay: workaround occassionally failures



test_smp_boot_delay sometimes fails due to thread started by IPI
not having started or not finished running:

* Using CPU mask to explicitly state which CPU to start the thread
  seems to fix the issue where the thread is not started quickly
  enough.
* When the host  system is under heavy load (e.g. twister-ing),
  emulators may not get enough CPU time to run the newly created
  thread. So extend the IPI delay a bit more to allow for this.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 1edc97cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment