mbed-os/TESTS
Russ Butler 472ababfef Update deep sleep lock check in tests
When the define LPTICKER_DELAY_TICKS is set deep sleep can be randomly
disallowed when using the low power ticker. This is because a Timer
object, which locks deep sleep, is used to protect from back-to-back
writes to lp tickers which can't support that. This causes tests which
assert that deep sleep is allowed to intermittently fail.

To fix this intermittent failure this patch adds the function
sleep_manager_can_deep_sleep_test_check() which checks if deep sleep
is allowed over a duration. It updates all the tests to use
sleep_manager_can_deep_sleep_test_check() rather
than sleep_manager_can_deep_sleep() so the tests work even if deep
sleep is spuriously blocked.
2018-08-17 09:29:41 -05:00
..
events tests: astyle fix 2018-08-03 10:23:38 +01:00
host_tests tests-mbed_hal-rtc_reset: Add ack from the device after each command is executed 2018-05-25 12:52:02 -05:00
integration/basic tests: astyle fix 2018-08-03 10:23:38 +01:00
lorawan/loraradio tests: astyle fix 2018-08-03 10:23:38 +01:00
mbed_drivers Update deep sleep lock check in tests 2018-08-17 09:29:41 -05:00
mbed_functional tests: astyle fix 2018-08-03 10:23:38 +01:00
mbed_hal Update deep sleep lock check in tests 2018-08-17 09:29:41 -05:00
mbed_platform tests: astyle fix 2018-08-03 10:23:38 +01:00
mbedmicro-mbed tests: astyle fix 2018-08-03 10:23:38 +01:00
mbedmicro-rtos-mbed Update deep sleep lock check in tests 2018-08-17 09:29:41 -05:00
mbedtls tests: astyle fix 2018-08-03 10:23:38 +01:00
netsocket Moved ASYNCHRONOUS_DNS_SIMULTANEOUS_REPEAT under mbed extended tests 2018-08-14 10:21:48 +03:00
network tests: astyle fix 2018-08-03 10:23:38 +01:00