summaryrefslogtreecommitdiffstats
path: root/testsuite/epoch01/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/epoch01/test_main.c')
-rw-r--r--testsuite/epoch01/test_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/epoch01/test_main.c b/testsuite/epoch01/test_main.c
index 98ae006a..f979a2fe 100644
--- a/testsuite/epoch01/test_main.c
+++ b/testsuite/epoch01/test_main.c
@@ -110,9 +110,13 @@ static void
test_fini(rtems_test_parallel_context *base, const char *name,
size_t active_workers)
{
+ rtems_status_code sc;
test_context *ctx;
size_t i;
+ sc = rtems_task_wake_after(CK_EPOCH_LENGTH);
+ assert(sc == RTEMS_SUCCESSFUL);
+
ctx = (test_context *)base;
printf(" <%s activeWorker=\"%zu\">\n", name, active_workers);