mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
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>
This commit is contained in:
parent
97c7cc8b94
commit
734203e12e
1 changed files with 0 additions and 16 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue