ecore_con : change timer's time and limit count
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 15 May 2018 10:06:40 +0000 (19:06 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Fri, 13 Jul 2018 10:51:56 +0000 (19:51 +0900)
   Network connections may take some time depending on test environment.
   However, the limit number of connections is not critical to this tc.

Change-Id: Id04f8b999562357077a6dbbcc392b40b03adcdbf

TC/ecore/ecore_con/utc_ecore_con_server_client_limit_set.c

index c591595ffb1494c20259a2924e689420d631dc5f..5ad4e3f2eada3e47b87642e304f4fb2131f4a6e3 100644 (file)
@@ -9,7 +9,7 @@
 
 #define HOSTNAME "127.0.0.1"
 #define PORT 8080
-#define CLIENT_LIMIT 10
+#define CLIENT_LIMIT 3
 
 static Eina_Bool startup_status = EINA_FALSE;
 static Ecore_Con_Server *svr = NULL;
@@ -96,7 +96,7 @@ START_TEST(utc_ecore_con_server_client_limit_set_p)
      }
    if (ok == EINA_TRUE)
      {
-        if (ecore_timer_add(1.0, _quit_timer_cb, NULL) == NULL)
+        if (ecore_timer_add(5.0, _quit_timer_cb, NULL) == NULL)
           {
              ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (timer cannot be created for testing)..", __FILE__, __LINE__);
           }
@@ -119,7 +119,7 @@ START_TEST(utc_ecore_con_server_client_limit_set_p)
                }
              if (ok == EINA_TRUE)
                {
-                  if (ecore_timer_add(1.0, _quit_timer_cb, NULL) == NULL)
+                  if (ecore_timer_add(5.0, _quit_timer_cb, NULL) == NULL)
                     {
                        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (timer cannot be created for testing)..", __FILE__, __LINE__);
                     }