Skip to content

Commit d6429ef

Browse files
committed
Fix lp_ticker and ticker unit test case wait times
1 parent 80cdc3e commit d6429ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TESTS/mbed_drivers/lp_ticker/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void test_detach(void)
143143
LowPowerTicker ticker;
144144
bool ret;
145145
const s_timestamp_t ticker_time_s = 1;
146-
const uint32_t wait_time_ms = 500;
146+
const uint32_t wait_time_ms = 5000;
147147
Semaphore sem(0, 1);
148148

149149
ticker.attach_s(callback(sem_release, &sem), ticker_time_s);

TESTS/mbed_drivers/ticker/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ void test_detach(void)
265265
Ticker ticker;
266266
bool ret;
267267
const s_timestamp_t ticker_time_s = 1;
268-
const uint32_t wait_time_ms = 500;
268+
const uint32_t wait_time_ms = 5000;
269269
Semaphore sem(0, 1);
270270

271271
ticker.attach_s(callback(sem_release, &sem), ticker_time_s);

0 commit comments

Comments
 (0)