Test suite execution time improvement: reduced timer values in eina_main_loop_is...
authorManoj Kumar <manoj.km@samsung.com>
Tue, 24 Jul 2018 04:03:22 +0000 (09:33 +0530)
committerYeongjong Lee <yj34.lee@samsung.com>
Mon, 6 Aug 2018 03:06:15 +0000 (12:06 +0900)
Change-Id: Ic0e8503ba99d3033aeeeb2c68cea9970d8d5bdce

TC/eina/eina_log/utc_eina_log_threads_enable.c
TC/eina/eina_main/utc_eina_main_loop_is.c

index fbe9ad3b6b30739c3c049e6b1ba565299b063aab..739c5f934c1a5fe3d755e96cb2be33cd3b9b8e15 100644 (file)
@@ -52,7 +52,7 @@ teardown(void)
  * @n Input Data: function has no arguments.
  *
  * @procedure
- * @step 1 Create new Ecore_Timer with interval equal 3 seconds; timer function should stop main loop
+ * @step 1 Create new Ecore_Timer with interval equal 0.5 seconds; timer function should stop main loop
  * @step 2 Create new Ecore_Thread with thread function where log message would be printed out (due to
  * documentation logging output from other thread is possible if tested function was called)
  * @step 3 Set logging callback
@@ -67,7 +67,7 @@ teardown(void)
  */
 START_TEST(utc_eina_log_threads_enable_p)
 {
-   Ecore_Timer *timer = ecore_timer_add(3, _timer_cb, NULL);
+   Ecore_Timer *timer = ecore_timer_add(0.5, _timer_cb, NULL);
    Ecore_Thread *thread = ecore_thread_run(_short_job, NULL, NULL, NULL);
 
    if (!timer)
index ef56c4267b551a41e2e11b540a83d57318e3c467..761a77f9523f05adfc5c7b12c3913a77f50f9031 100644 (file)
@@ -71,7 +71,7 @@ END_TEST
  * @n Input Data: function has no arguments.
  *
  * @procedure
- * @step 1 Create new Ecore_Timer with interval equal 3 seconds; timer function should stop main loop
+ * @step 1 Create new Ecore_Timer with interval equal 0.5 seconds; timer function should stop main loop
  * @step 2 Create new Ecore_Thread with thread function where tested function should be called from
  * @step 3 Begin main loop
  * @step 4 Check value of global variable 'main_loop' that should be set via invocation of tested function
@@ -83,7 +83,7 @@ END_TEST
  */
 START_TEST(utc_eina_main_loop_is_p2)
 {
-   Ecore_Timer *timer = ecore_timer_add(3, _timer_cb, NULL);
+   Ecore_Timer *timer = ecore_timer_add(0.5, _timer_cb, NULL);
    Ecore_Thread *thread = ecore_thread_run(_short_job, NULL, NULL, NULL);
 
    if (!timer)