tests: pm: device_runtime: Avoid race condition
The test was done with one cpu in mind. In a SMP environment there is race condition where the semaphor can be given before the other thread take block waiting for it. Fixes #40068 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
75c0f52cca
commit
d7a2f6e8de
1 changed files with 1 additions and 0 deletions
|
@ -2,3 +2,4 @@ CONFIG_ZTEST=y
|
|||
CONFIG_PM=y
|
||||
CONFIG_PM_DEVICE=y
|
||||
CONFIG_PM_DEVICE_RUNTIME=y
|
||||
CONFIG_MP_NUM_CPUS=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue