Skip to content
Commit 91e8a17b authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Fabio Baltieri
Browse files

tests/semaphore: fix "cpu test took too long" assertion failure



The SMP config for RISC-V on QEMU triggers this:

|START - test_sem_queue_mutual_exclusion
|
|Assertion failed at
| WEST_TOPDIR/zephyr/subsys/testsuite/ztest/src/ztest_new.c:155:
| cpu_hold: (dt < 3000 is false)
|1cpu test took too long (4090 ms)
|ERROR: cannot fail in test 'after()', bailing

Looping 10000 times is maybe a bit excessive.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent 1f362a81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment