Add warning to reserve the reason

The test has some issues we can not avoid. Put
it in code to avoid it is re-inroduced again

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-04-18 17:09:03 +08:00
parent d1190a5af3
commit ed9b9a7579

View File

@ -74,6 +74,13 @@ void time_delay_milliseconds(int delay_ms)
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
/*
* WARNING: DONOT ENABLE THIS TEST. RESERVE IT HERE TO KEEP THE REASON.
*
* The test often failed on the CI. See #1517. CI failures cannot be
* completely avoided due to out-of-sync clock sources.
*/
void time_delay_seconds(int delay_secs)
{
mbedtls_time_t current = mbedtls_time(NULL);