This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f8bca6d8 testing/pm_smp: add more delay, avoid idle canot run one 
cycle
0f8bca6d8 is described below

commit 0f8bca6d8f8bfdecd1a93143ecd7685c0c2adc4c
Author: buxiasen <[email protected]>
AuthorDate: Mon Nov 25 17:30:20 2024 +0800

    testing/pm_smp: add more delay, avoid idle canot run one cycle
    
    If the host performance low, possible not able to enter idle thread,
    cause case break.
    
    Signed-off-by: buxiasen <[email protected]>
---
 testing/drivers/drivertest/drivertest_pm_smp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/drivers/drivertest/drivertest_pm_smp.c 
b/testing/drivers/drivertest/drivertest_pm_smp.c
index db3d70257..41115d18f 100644
--- a/testing/drivers/drivertest/drivertest_pm_smp.c
+++ b/testing/drivers/drivertest/drivertest_pm_smp.c
@@ -46,9 +46,9 @@
 
 #define TEST_PM_LOOP_COUNT   5
 
-#define TEST_STAYTIMEOUT     2   /* in ms */
+#define TEST_STAYTIMEOUT     20   /* in ms */
 
-#define TEST_SNAP_TICK_MAX   3
+#define TEST_SNAP_TICK_MAX   5
 
 #define TEST_TIMEOUT_ENABLED 1
 

Reply via email to