mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-12 20:36:15 +01:00
Explicitly unset the session bus address for the peer tests
Otherwise, we may run into trouble as opening a peer-to-peer connection uses a socket client, which uses a proxy resolver which may end up using gsettings, whose dconf backend may end up using the session bus to talk to dconfd...
This commit is contained in:
parent
d344e69dc2
commit
4cb33b158b
@ -1538,6 +1538,8 @@ main (int argc,
|
|||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
|
g_unsetenv ("DBUS_SESSION_BUS_ADDRESS");
|
||||||
|
|
||||||
introspection_data = g_dbus_node_info_new_for_xml (test_interface_introspection_xml, NULL);
|
introspection_data = g_dbus_node_info_new_for_xml (test_interface_introspection_xml, NULL);
|
||||||
g_assert (introspection_data != NULL);
|
g_assert (introspection_data != NULL);
|
||||||
test_interface_introspection_data = introspection_data->interfaces[0];
|
test_interface_introspection_data = introspection_data->interfaces[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user