- LEAK_DETECTIVE activated
[strongswan.git] / Source / charon / tests / event_queue_test.c
index a07d726..b06b16b 100644 (file)
@@ -30,7 +30,7 @@
 /**
  * Number of different times to insert per thread
  */
-#define EVENT_QUEUE_TIMES 10
+#define EVENT_QUEUE_TIMES 5
 /**
  * Number of entries per time per thread
  */
@@ -82,7 +82,7 @@ static void event_queue_insert_thread(event_queue_test_t * testinfos)
                        time.tv_usec = 0;
                        time.tv_sec = current_time.tv_sec + i;
                        
-                       tester->assert_true(tester,(testinfos->event_queue->add(testinfos->event_queue,job,time) == SUCCESS), "add call check");
+                       tester->assert_true(tester,(testinfos->event_queue->add_absolute(testinfos->event_queue,job,time) == SUCCESS), "add call check");
                }
        } 
 }