mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11022 from OpenNuvoton/nuvoton_wdt-test-oom
Fix watchdog tests failing with OOMpull/11053/head
commit
aca726d59f
|
@ -68,7 +68,7 @@ using utest::v1::Harness;
|
||||||
|
|
||||||
using namespace mbed;
|
using namespace mbed;
|
||||||
|
|
||||||
Thread wdg_kicking_thread;
|
Thread wdg_kicking_thread(osPriorityNormal, 768);
|
||||||
Semaphore kick_wdg_during_test_teardown(0, 1);
|
Semaphore kick_wdg_during_test_teardown(0, 1);
|
||||||
|
|
||||||
void wdg_kicking_thread_fun()
|
void wdg_kicking_thread_fun()
|
||||||
|
|
|
@ -69,7 +69,7 @@ using utest::v1::Harness;
|
||||||
|
|
||||||
const watchdog_config_t WDG_CONFIG_DEFAULT = { .timeout_ms = WDG_TIMEOUT_MS };
|
const watchdog_config_t WDG_CONFIG_DEFAULT = { .timeout_ms = WDG_TIMEOUT_MS };
|
||||||
|
|
||||||
Thread wdg_kicking_thread;
|
Thread wdg_kicking_thread(osPriorityNormal, 768);
|
||||||
Semaphore kick_wdg_during_test_teardown(0, 1);
|
Semaphore kick_wdg_during_test_teardown(0, 1);
|
||||||
|
|
||||||
void wdg_kicking_thread_fun()
|
void wdg_kicking_thread_fun()
|
||||||
|
|
Loading…
Reference in New Issue