Skip to content

Commit 1863400

Browse files
authored
Merge pull request ARMmbed#6993 from deepikabhavnani/cpu_test_fix
CPU Stats test - Increased wait time to allow device to sleep
2 parents d8cb72a + ea356a6 commit 1863400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_platform/stats_cpu/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void test_cpu_info(void)
6565
mbed_stats_cpu_t stats;
6666
// Additional read to make sure timer is initialized
6767
mbed_stats_cpu_get(&stats);
68-
Thread::wait(1);
68+
Thread::wait(3);
6969
mbed_stats_cpu_get(&stats);
7070
TEST_ASSERT_NOT_EQUAL(0, stats.uptime);
7171
TEST_ASSERT_NOT_EQUAL(0, stats.idle_time);

0 commit comments

Comments
 (0)