From 472b67e124bb865ea6404baff6bf802df9e7fb6a Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Sat, 30 May 2020 08:25:38 -0700 Subject: [PATCH] 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 --- tests/kernel/smp/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kernel/smp/src/main.c b/tests/kernel/smp/src/main.c index 809453d3be4..e4d880a49ff 100644 --- a/tests/kernel/smp/src/main.c +++ b/tests/kernel/smp/src/main.c @@ -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),