epoch01: Fix sporadic test failures

This commit is contained in:
Sebastian Huber 2020-06-23 14:10:06 +02:00
parent d38dbbe18e
commit 6ac77389a3

View File

@ -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);