[rtems-central commit] spec: Fix sporadic test failures
Sebastian Huber
sebh at rtems.org
Wed Sep 8 11:49:44 UTC 2021
Module: rtems-central
Branch: master
Commit: c7e73b5826795164a610531da2e64f575fe11aee
Changeset: http://git.rtems.org/rtems-central/commit/?id=c7e73b5826795164a610531da2e64f575fe11aee
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Sep 7 14:59:42 2021 +0200
spec: Fix sporadic test failures
---
spec/rtems/signal/req/send.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/spec/rtems/signal/req/send.yml b/spec/rtems/signal/req/send.yml
index 6b9f670..83de6d1 100644
--- a/spec/rtems/signal/req/send.yml
+++ b/spec/rtems/signal/req/send.yml
@@ -195,8 +195,10 @@ test-action: |
if ( ctx->id == ctx->worker_id ) {
SendEventsToWorker( ctx, EVENT_START );
+ StartDelayThreadDispatch( 1 );
ctx->status = rtems_signal_send( ctx->id, ctx->signal_set );
ctx->calls_after_send = ctx->handler_calls;
+ StopDelayThreadDispatch( 1 );
SendEventsToWorker( ctx, EVENT_SEND_DONE );
ctx->calls_after_dispatch = ctx->handler_calls;
More information about the vc
mailing list