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:
Andy Ross 2020-05-30 08:25:38 -07:00 committed by Anas Nashif
commit 472b67e124

View file

@ -447,7 +447,7 @@ void test_main(void)
* thread from which they can exit correctly to run the main
* test.
*/
k_sleep(K_MSEC(1000));
k_sleep(K_MSEC(10));
ztest_test_suite(smp,
ztest_unit_test(test_smp_coop_threads),