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
Christopher Haster 2017-04-24 18:25:22 -05:00 committed by Russ Butler
parent 5ebe295364
commit f98a52fb97
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}