File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 40
40
// Do not set watchdog timeout shorter than 50 ms as it may cause the
41
41
// host-test-runner return 'TIMEOUT' instead of 'FAIL' / 'PASS' if watchdog
42
42
// performs reset during test suite teardown.
43
- #define WDG_TIMEOUT_MS 500UL
43
+ #define WDG_TIMEOUT_MS 100UL
44
44
45
45
#define MSG_VALUE_DUMMY " 0"
46
46
#define MSG_VALUE_LEN 24
@@ -243,8 +243,8 @@ Case cases[] = {
243
243
test_update_config,
244
244
(utest::v1::case_teardown_handler_t ) case_teardown_wdg_stop_or_reset),
245
245
246
- Case (" Init, 500 ms" , (utest::v1::case_setup_handler_t ) case_setup_sync_on_reset,
247
- test_init<500UL >, (utest::v1::case_teardown_handler_t ) case_teardown_sync_on_reset),
246
+ Case (" Init, 100 ms" , (utest::v1::case_setup_handler_t ) case_setup_sync_on_reset,
247
+ test_init<100UL >, (utest::v1::case_teardown_handler_t ) case_teardown_sync_on_reset),
248
248
Case (" Init, max_timeout" , (utest::v1::case_setup_handler_t ) case_setup_sync_on_reset,
249
249
test_init_max_timeout, (utest::v1::case_teardown_handler_t ) case_teardown_sync_on_reset),
250
250
};
Original file line number Diff line number Diff line change 25
25
#include " watchdog_reset_tests.h"
26
26
#include " mbed.h"
27
27
28
- #define TIMEOUT_MS 500UL
29
28
#if TARGET_NUMAKER_PFM_NANO130
30
29
/* On NUMAKER_PFM_NANO130 target, WDT's clock source is fixed to LIRC, which is more
31
30
* inaccurate than other targets. Enlarge this delta define to pass this test. */
31
+ #define TIMEOUT_MS 500UL
32
32
#define TIMEOUT_DELTA_MS 100UL
33
33
#else
34
- #define TIMEOUT_DELTA_MS 50UL
34
+ #define TIMEOUT_MS 100UL
35
+ #define TIMEOUT_DELTA_MS 10UL
35
36
#endif
36
37
37
38
#define MSG_VALUE_DUMMY " 0"
You can’t perform that action at this time.
0 commit comments