diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-01-16 17:30:01 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-01-16 17:59:49 +0100 |
commit | dfd111f29112918d7f2046297670a7481a883354 (patch) | |
tree | f7872cfa6c0eadfdfa67caff0801fc659f19506b /plugins/tests/test-port-context.c | |
parent | 87bafa33dc6b1d58a67147a802bd498f9a2f80d6 (diff) |
tests,test-fixture: don't rely on other threads to update dbus properties
We were wrongly using a main loop in the port context thread to manage the
global main context. That was silently making the DBus property notifications
kind of work, as they were being updated via another thread, so here we could
just sleep() and recheck the property values.
Given that having that unrelated thread updating the dbus properties of our
MMManager object is not a good thing, we'll instead totally ignore that and
fully re-create the MMManager in each iteration with the sync() method, which
has its own internal thread.
Diffstat (limited to 'plugins/tests/test-port-context.c')
0 files changed, 0 insertions, 0 deletions