tests/eldbus: fix broken unit test
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 19 Jul 2019 20:55:03 +0000 (16:55 -0400)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 23 Jul 2019 05:04:43 +0000 (14:04 +0900)
this callback isn't called during the main loop, so attempting to
quit the loop has no effect and the test deadlocks

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9367

src/tests/eldbus/eldbus_test_eldbus_signal_handler.c

index 5e9bfc5..018d7b3 100644 (file)
@@ -427,8 +427,6 @@ EFL_START_TEST(utc_eldbus_signal_handler_free_cb_add_del_p)
 
    eldbus_signal_handler_unref(signal_handler);
 
-   ecore_main_loop_begin();
-
    ck_assert_msg(is_success_cb, "Callback is not called");
 
    signal_handler = _signal_handler_get(conn);