esp32/test: set 60s timeout for one deep sleep case

This commit is contained in:
He Yin Ling 2018-06-21 19:58:24 +08:00 committed by bot
parent 4f971619fa
commit f348076920

View file

@ -371,4 +371,4 @@ static void check_time_deepsleep(void)
TEST_ASSERT_MESSAGE(dt_ms > 0, "Time in deep sleep is negative"); TEST_ASSERT_MESSAGE(dt_ms > 0, "Time in deep sleep is negative");
} }
TEST_CASE_MULTIPLE_STAGES("check a time after wakeup from deep sleep", "[deepsleep][reset=DEEPSLEEP_RESET]", trigger_deepsleep, check_time_deepsleep); TEST_CASE_MULTIPLE_STAGES("check a time after wakeup from deep sleep", "[deepsleep][reset=DEEPSLEEP_RESET][timeout=60]", trigger_deepsleep, check_time_deepsleep);