summaryrefslogtreecommitdiffstats
path: root/c/src/tests/mptests/mp14/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/mptests/mp14/exit.c')
-rw-r--r--c/src/tests/mptests/mp14/exit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/tests/mptests/mp14/exit.c b/c/src/tests/mptests/mp14/exit.c
index 65fc0df49f..38b0e327e2 100644
--- a/c/src/tests/mptests/mp14/exit.c
+++ b/c/src/tests/mptests/mp14/exit.c
@@ -24,6 +24,13 @@ void Exit_test( void )
rtems_status_code status;
rtems_mode old_mode;
+ /*
+ * Wait a bit before shutting down so we don't screw up the other node
+ * when our MPCI shuts down
+ */
+
+ rtems_task_wake_after(20);
+
status = rtems_task_mode( RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &old_mode );
directive_failed( status, "rtems_task_mode" );