Skip to content
Commit 7e71164c authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

tests: kernel: timer: add test for starvation



Add a test that repeatedly reschedules a timer before it expires, and
has no other timers active.  If the timer internal state overflows due
to counter wrap either the uptime or the tick counter may appear to go
backwards.  The test runs until it fails, or until a specified amount
of measured time has passed.

This test is build-only for automated test programs as the default
limit to pass is one hour, and some platforms may require an even
longer period.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 971ae599
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment