ecore_con: no need for a long timeout when we know the test is supposed to timeout.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 5 Dec 2018 18:47:06 +0000 (10:47 -0800)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:20:08 +0000 (13:20 +0900)
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7422

src/tests/ecore_con/ecore_con_test_ecore_con.c

index ed77811..e128a9d 100644 (file)
@@ -476,7 +476,7 @@ EFL_START_TEST(ecore_test_ecore_con_dns)
    client = ecore_con_server_connect(ECORE_CON_REMOTE_TCP,
                                      "wongsub.wrongdns.lan", 1234, NULL);
    fail_if (client == NULL);
-   ecore_con_server_timeout_set(client, 5.0);
+   ecore_con_server_timeout_set(client, 1.0); // No point for a long timeout as we know it is wrong
 
    ecore_main_loop_begin();
    fail_if (err_check != EINA_FALSE);