tests/kernel/smp: Don't wait so long at startup
Sleeping for a full second at startup is needless. The currently enabled subsystems on platforms that run this test don't even have any other threads running at startup, so we're guaranteed the other core is in idle before we even reach main(). Just a few ms is plenty. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
ae597c07b6
commit
472b67e124
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ void test_main(void)
|
||||||
* thread from which they can exit correctly to run the main
|
* thread from which they can exit correctly to run the main
|
||||||
* test.
|
* test.
|
||||||
*/
|
*/
|
||||||
k_sleep(K_MSEC(1000));
|
k_sleep(K_MSEC(10));
|
||||||
|
|
||||||
ztest_test_suite(smp,
|
ztest_test_suite(smp,
|
||||||
ztest_unit_test(test_smp_coop_threads),
|
ztest_unit_test(test_smp_coop_threads),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue