mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6993 from deepikabhavnani/cpu_test_fix
CPU Stats test - Increased wait time to allow device to sleeppull/6994/merge
commit
18634009c5
|
|
@ -65,7 +65,7 @@ void test_cpu_info(void)
|
|||
mbed_stats_cpu_t stats;
|
||||
// Additional read to make sure timer is initialized
|
||||
mbed_stats_cpu_get(&stats);
|
||||
Thread::wait(1);
|
||||
Thread::wait(3);
|
||||
mbed_stats_cpu_get(&stats);
|
||||
TEST_ASSERT_NOT_EQUAL(0, stats.uptime);
|
||||
TEST_ASSERT_NOT_EQUAL(0, stats.idle_time);
|
||||
|
|
|
|||
Loading…
Reference in New Issue