Merge branch 'bugfix/adjust_deepsleep_example_limit' into 'master'

ci: increase acceptence limits for deep sleep example test

See merge request espressif/esp-idf!17501
pull/8607/head
Marius Vikhammer 2022-03-16 16:48:10 +08:00
commit 263771a744
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -55,7 +55,7 @@ def test_deep_sleep(dut: Dut) -> None:
sleep_time = time.time() - start_sleep sleep_time = time.time() - start_sleep
logging.info('Host measured sleep time at {:.2f}s'.format(sleep_time)) logging.info('Host measured sleep time at {:.2f}s'.format(sleep_time))
assert 19 < sleep_time < 22 # note: high tolerance as measuring time on the host may have some timing skew assert 18 < sleep_time < 22 # note: high tolerance as measuring time on the host may have some timing skew
# This line indicates that the CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option set in sdkconfig.defaults # This line indicates that the CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option set in sdkconfig.defaults
# has correctly allowed skipping verification on wakeup # has correctly allowed skipping verification on wakeup