Fix lp_ticker and ticker unit test case wait times

pull/11236/head
Hugues Kamba 2019-08-15 19:50:00 +01:00
parent 80cdc3e625
commit d6429ef45f
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ void test_detach(void)
LowPowerTicker ticker;
bool ret;
const s_timestamp_t ticker_time_s = 1;
const uint32_t wait_time_ms = 500;
const uint32_t wait_time_ms = 5000;
Semaphore sem(0, 1);
ticker.attach_s(callback(sem_release, &sem), ticker_time_s);

View File

@ -265,7 +265,7 @@ void test_detach(void)
Ticker ticker;
bool ret;
const s_timestamp_t ticker_time_s = 1;
const uint32_t wait_time_ms = 500;
const uint32_t wait_time_ms = 5000;
Semaphore sem(0, 1);
ticker.attach_s(callback(sem_release, &sem), ticker_time_s);