Skip to content

Commit 8b5dee8

Browse files
gekyBartek Szatkowski
authored andcommitted
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.
1 parent 799983c commit 8b5dee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/events/timing/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void semaphore_timing_test() {
104104

105105
// Test setup
106106
utest::v1::status_t test_setup(const size_t number_of_cases) {
107-
GREENTEA_SETUP((number_of_cases+1)*TEST_EVENTS_TIMING_TIME, "default_auto");
107+
GREENTEA_SETUP((number_of_cases+1)*TEST_EVENTS_TIMING_TIME/1000, "default_auto");
108108
return verbose_test_setup_handler(number_of_cases);
109109
}
110110

0 commit comments

Comments
 (0)