diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-23 14:10:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-23 14:11:24 +0200 |
commit | 2036cf9616e91271685a781090d6878eaf9366d7 (patch) | |
tree | 8c6fc1679e07cc7a433f9b0e85223f2b36382a49 | |
parent | b96abfd647154f10ea8f7fac68e25676636eded5 (diff) |
epoch01: Fix sporadic test failures
-rw-r--r-- | testsuite/epoch01/test_main.c | 4 |
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); |