Skip to content
Commit 03164a78 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

tests/kernel/workq/work_queue: Fix for fast/non-standard tick rates



This test was written to properly align its millisecond-measured wait
time and assumed that there would be no other overhead.  In fact on
fast tick rate systems (or even ones where the alignment computation
doesn't provide the needed padding as "slop") that's not quite enough
time to complete the full test.  There are cycles between the sleep
calls that need to be accounted for, and aren't.

Just give it one extra work item of time before failing.  We aren't
testing work queue timing precision here, just evaluation semantics.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 5238f5b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment