stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=05edb41388bcebcdb8d8f6332098ee41eaf6a8b3

commit 05edb41388bcebcdb8d8f6332098ee41eaf6a8b3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 29 17:02:04 2018 -0400

    tests: remove sleep calls from eina_barrier_test_simple
    
    the timing does not matter for these tests, so there's no point in
    randomly waiting longer and delaying build completion
    
    fix T6832
    
    Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
---
 src/tests/eina/eina_test_barrier.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/tests/eina/eina_test_barrier.c 
b/src/tests/eina/eina_test_barrier.c
index d3234f43a7..369edc99bd 100644
--- a/src/tests/eina/eina_test_barrier.c
+++ b/src/tests/eina/eina_test_barrier.c
@@ -39,7 +39,6 @@ wk_func(void *data EINA_UNUSED, Eina_Thread thread 
EINA_UNUSED)
 static void *
 wk1_func(void *data EINA_UNUSED, Eina_Thread thread EINA_UNUSED)
 {
-    sleep(1);
     eina_barrier_wait(&barrier);
     return NULL;
 }
@@ -47,7 +46,6 @@ wk1_func(void *data EINA_UNUSED, Eina_Thread thread 
EINA_UNUSED)
 static void *
 wk2_func(void *data EINA_UNUSED, Eina_Thread thread EINA_UNUSED)
 {
-    sleep(2);
     eina_barrier_wait(&barrier);
     return NULL;
 }
@@ -55,7 +53,6 @@ wk2_func(void *data EINA_UNUSED, Eina_Thread thread 
EINA_UNUSED)
 static void *
 wk3_func(void *data EINA_UNUSED, Eina_Thread thread EINA_UNUSED)
 {
-    sleep(3);
     eina_barrier_wait(&barrier);
     return NULL;
 }
@@ -108,7 +105,7 @@ void
 eina_test_barrier(TCase *tc)
 {
 #ifndef _WIN32
-   tcase_set_timeout(tc, 6);
+   tcase_set_timeout(tc, 1);
 #endif
    tcase_add_test(tc, eina_barrier_test_simple);
 }

-- 


Reply via email to