ecore_con: con_lookup - increase the timeout to 30s 17/191317/1
authorAmitesh Singh <singh.amitesh@gmail.com>
Tue, 16 Oct 2018 05:12:54 +0000 (10:42 +0530)
committerAmitesh Singh <singh.amitesh@gmail.com>
Tue, 16 Oct 2018 05:14:52 +0000 (10:44 +0530)
timeout of 0.5s is too less. Increase the timeout to 30s
so that DNS lookup server has enough timeout to reply on query.

Change-Id: I3cfe1aa780df6da7fd016c225851e7aeb033699e
Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com>
TC/ecore/ecore_con/utc_ecore_con_lookup.c

index e1e3acd8be03fe88c03ce9b7b66e475ea28162d4..b661c28450f96a289c6780a1aeab7c91abf7119a 100644 (file)
@@ -83,7 +83,7 @@ START_TEST(utc_ecore_con_lookup_p)
    ret = ecore_con_lookup(SERVER_NAME, _lookup_done_cb, NULL);
    if (ret == EINA_TRUE)
      {
-        if (ecore_timer_add(0.5, _quit_timer_cb, NULL) == NULL)
+        if (ecore_timer_add(30, _quit_timer_cb, NULL) == NULL)
           {
              ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (timer cannot be created for testing)..", __FILE__, __LINE__);
           }