mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 22:39:24 +08:00
epoch01: Fix sporadic test failures
This commit is contained in:
parent
b96abfd647
commit
2036cf9616
@ -110,9 +110,13 @@ static void
|
|||||||
test_fini(rtems_test_parallel_context *base, const char *name,
|
test_fini(rtems_test_parallel_context *base, const char *name,
|
||||||
size_t active_workers)
|
size_t active_workers)
|
||||||
{
|
{
|
||||||
|
rtems_status_code sc;
|
||||||
test_context *ctx;
|
test_context *ctx;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
|
sc = rtems_task_wake_after(CK_EPOCH_LENGTH);
|
||||||
|
assert(sc == RTEMS_SUCCESSFUL);
|
||||||
|
|
||||||
ctx = (test_context *)base;
|
ctx = (test_context *)base;
|
||||||
|
|
||||||
printf(" <%s activeWorker=\"%zu\">\n", name, active_workers);
|
printf(" <%s activeWorker=\"%zu\">\n", name, active_workers);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user