mbedtls: give SHA test slightly more time to run

This commit is contained in:
Ivan Grokhotkov 2017-01-11 21:30:23 +08:00
parent 63091a2358
commit d6842e537c

View File

@ -166,7 +166,7 @@ TEST_CASE("mbedtls SHA self-tests multithreaded", "[mbedtls]")
xTaskCreate(tskRunSHASelftests, "SHASelftests2", 8192, NULL, 3, NULL); xTaskCreate(tskRunSHASelftests, "SHASelftests2", 8192, NULL, 3, NULL);
for(int i = 0; i < 2; i++) { for(int i = 0; i < 2; i++) {
if(!xSemaphoreTake(done_sem, 10000/portTICK_PERIOD_MS)) { if(!xSemaphoreTake(done_sem, 12000/portTICK_PERIOD_MS)) {
TEST_FAIL_MESSAGE("done_sem not released by test task"); TEST_FAIL_MESSAGE("done_sem not released by test task");
} }
} }