mirror of https://github.com/ARMmbed/mbed-os.git
Fixed timeout units in events timing test
A units mistake led to passing 20000 seconds instead of 20000 milliseconds to greentea. The would cause the test to spin for 6 hours if it got stuck anywhere.pull/4314/head
parent
5ebe295364
commit
f98a52fb97
|
|
@ -104,7 +104,7 @@ void semaphore_timing_test() {
|
|||
|
||||
// Test setup
|
||||
utest::v1::status_t test_setup(const size_t number_of_cases) {
|
||||
GREENTEA_SETUP((number_of_cases+1)*TEST_EVENTS_TIMING_TIME, "default_auto");
|
||||
GREENTEA_SETUP((number_of_cases+1)*TEST_EVENTS_TIMING_TIME/1000, "default_auto");
|
||||
return verbose_test_setup_handler(number_of_cases);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue