diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-05-29 13:24:15 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2018-05-29 13:25:55 +0200 |
commit | 6421dd68fd0a6aec76ddf1bde433c7c67ac5a6cc (patch) | |
tree | 5331a023a508b1f2668f64b93045c45a7ed75c5c | |
parent | c6304aed8c8084de8aa244174347c8ee77a8574e (diff) | |
download | efl-6421dd68fd0a6aec76ddf1bde433c7c67ac5a6cc.tar.gz |
tests: fix eldbus_test_eldbus_name_owner_changed test
Summary:
this is supposed to check an fdo dbus spec implementation, so the test
should exit with success after verifying it instead of waiting for a timeout
ref T6952
Depends on D6196
Reviewers: stefan_schmidt, cedric
Reviewed By: cedric
Subscribers: cedric, #committers
Tags: #efl
Maniphest Tasks: T6952
Differential Revision: https://phab.enlightenment.org/D6197
-rw-r--r-- | src/tests/eldbus/eldbus_test_eldbus_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/eldbus/eldbus_test_eldbus_init.c b/src/tests/eldbus/eldbus_test_eldbus_init.c index ade332aa8a..defe8851e3 100644 --- a/src/tests/eldbus/eldbus_test_eldbus_init.c +++ b/src/tests/eldbus/eldbus_test_eldbus_init.c @@ -14,6 +14,7 @@ static Eina_Bool _quit_cb(void *data EINA_UNUSED) { + ck_abort_msg("dbus timeout triggered!"); ecore_main_loop_quit(); return EINA_FALSE; } @@ -66,6 +67,7 @@ void name_owner_changed_cb(void *data, const char *bus EINA_UNUSED, const char * { const char **id = data; *id = new_id; + ecore_main_loop_quit(); } EFL_START_TEST(eldbus_test_eldbus_name_owner_changed) @@ -78,7 +80,7 @@ EFL_START_TEST(eldbus_test_eldbus_name_owner_changed) eldbus_name_owner_changed_callback_add(conn, "org.bus.that.not.exist", name_owner_changed_cb, &id, EINA_TRUE); - ecore_timer_add(0.5, _quit_cb, NULL); + ecore_timer_add(0.1, _quit_cb, NULL); ecore_main_loop_begin(); |