[rtems commit] sppps01: Fix test in SMP configurations

Sebastian Huber sebh at rtems.org
Wed Jul 13 13:58:56 UTC 2022


Module:    rtems
Branch:    master
Commit:    013e028f8742f547885a78dd4dab069a6984a26f
Changeset: http://git.rtems.org/rtems/commit/?id=013e028f8742f547885a78dd4dab069a6984a26f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul 13 16:01:12 2022 +0200

sppps01: Fix test in SMP configurations

Update #2349.

---

 testsuites/sptests/sppps01/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/sptests/sppps01/init.c b/testsuites/sptests/sppps01/init.c
index 7779f7d9e7..8dcce17769 100644
--- a/testsuites/sptests/sppps01/init.c
+++ b/testsuites/sptests/sppps01/init.c
@@ -105,7 +105,7 @@ T_TEST_CASE( PPSEventEarlyReturns )
   pps_dev.pps.ppsparam.mode = PPS_CAPTURECLEAR;
 
   /* Wait th_generation to be updated */
-  rtems_task_wake_after(1);
+  rtems_task_wake_after( 2 );
   pps_event( &pps_dev.pps, PPS_CAPTURECLEAR );
   T_eq_int( pps_dev.wokenup, 0 );
 



More information about the vc mailing list