]> granicus.if.org Git - esp-idf/commitdiff
mbedtls: give SHA test slightly more time to run
authorIvan Grokhotkov <igrokhotkov@gmail.com>
Wed, 11 Jan 2017 13:30:23 +0000 (21:30 +0800)
committerIvan Grokhotkov <igrokhotkov@gmail.com>
Wed, 11 Jan 2017 13:30:23 +0000 (21:30 +0800)
components/mbedtls/test/test_mbedtls_sha.c

index 721c59b76154fc1c882c30975ba4bf1fff6818f5..b18169827b9762d647c12bf66060f62f425b784f 100644 (file)
@@ -166,7 +166,7 @@ TEST_CASE("mbedtls SHA self-tests multithreaded", "[mbedtls]")
     xTaskCreate(tskRunSHASelftests, "SHASelftests2", 8192, NULL, 3, NULL);
 
     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");
         }
     }