summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-07-08 18:59:40 +0200
committerThomas Haller <thaller@redhat.com>2014-07-08 19:01:01 +0200
commit734203e12ed99c586aa36a2eef5858c80c580e61 (patch)
tree5d635b05edff04545e727d9d20d0f23b36f00449 /libnm-glib
parent97c7cc8b94caa7d48e8cc63e894ffc72f8230ec8 (diff)
downloadNetworkManager-734203e12ed99c586aa36a2eef5858c80c580e61.tar.gz
libnm-glib/tests: remove waiting time for initializing NMClient
This waiting time significantly increases the runtime of the tests. Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/tests/test-nm-client.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libnm-glib/tests/test-nm-client.c b/libnm-glib/tests/test-nm-client.c
index b181c8fa3a..d5a79c75bc 100644
--- a/libnm-glib/tests/test-nm-client.c
+++ b/libnm-glib/tests/test-nm-client.c
@@ -273,10 +273,6 @@ test_device_added (void)
service_init ();
- /* Give NMClient a chance to initialize */
- g_timeout_add_seconds (5, loop_quit, loop);
- g_main_loop_run (loop);
-
devices = nm_client_get_devices (_sinfo->client);
test_assert (devices == NULL);
@@ -431,10 +427,6 @@ test_wifi_ap_added_removed (void)
service_init ();
- /* Give NMClient a chance to initialize */
- g_timeout_add_seconds (5, loop_quit, loop);
- g_main_loop_run (loop);
-
/*************************************/
/* Add the wifi device */
add_device ("AddWifiDevice", "wlan0", NULL);
@@ -654,10 +646,6 @@ test_wimax_nsp_added_removed (void)
service_init ();
- /* Give NMClient a chance to initialize */
- g_timeout_add_seconds (5, loop_quit, loop);
- g_main_loop_run (loop);
-
/*************************************/
/* Add the wimax device */
add_device ("AddWimaxDevice", "wmx0", NULL);
@@ -838,10 +826,6 @@ test_devices_array (void)
service_init ();
- /* Give NMClient a chance to initialize */
- g_timeout_add_seconds (5, loop_quit, loop);
- g_main_loop_run (loop);
-
/*************************************/
/* Add some devices */
add_device ("AddWifiDevice", "wlan0", &paths[0]);