Remove delay milliseconds test

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-05-05 17:03:29 +08:00
parent 71f88ecc52
commit 484a9e138f
2 changed files with 7 additions and 3 deletions

View file

@ -4,6 +4,3 @@ time_get_milliseconds:
Time: get seconds
time_get_seconds:
Time: delay milliseconds
time_delay_milliseconds:1000

View file

@ -64,6 +64,13 @@ void time_delay_milliseconds(int delay_ms)
mbedtls_ms_time_t current = mbedtls_ms_time();
mbedtls_ms_time_t elapsed_ms;
/*
* WARNING: DO NOT ENABLE THIS TEST. We keep the code here to document the
* reason.
*
* Windows CI reports random test fail on platform-suite. It might
* be caused by this case.
*/
sleep_ms(delay_ms);
elapsed_ms = mbedtls_ms_time() - current;