stefan pushed a commit to branch master.

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

commit f176c86b09a75cc9895b6c3cf380e933da9a286d
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 29 15:54:02 2018 -0400

    tests: greatly reduce iterations for eina_rbtree_remove test
    
    this has no bearing on coverage, so there is not much point in uselessly
    iterating here
    
    ref T6830
    
    Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
---
 src/tests/eina/eina_test_rbtree.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/tests/eina/eina_test_rbtree.c 
b/src/tests/eina/eina_test_rbtree.c
index acf5290ffd..eaed5c2cc0 100644
--- a/src/tests/eina/eina_test_rbtree.c
+++ b/src/tests/eina/eina_test_rbtree.c
@@ -375,13 +375,15 @@ EFL_START_TEST(eina_rbtree_remove)
    unsigned int i;
    Eina_Rbtree_Int *mem;
 
-   mem = _eina_rbtree_int_init(500);
+   unsigned int num_nodes = 20;
+
+   mem = _eina_rbtree_int_init(num_nodes);
 
-   ea = eina_array_new(500);
+   ea = eina_array_new(num_nodes);
    fail_if(!ea);
 
 
-   for (i = 0; i < 500; ++i)
+   for (i = 0; i < num_nodes; ++i)
      {
         item = _eina_rbtree_int_new(r1[i], mem, i);
         eina_array_push(ea, item);

-- 


Reply via email to