From 870b64b8482268cef15427280ead65fb25f89ca8 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 24 May 2018 18:45:12 +0200 Subject: tests: Also wait for ConnectionAdded signal from NetworkManager Also wait for the connection-added signal instead of only waiting for the property notification for the connections. While not neccessary, this is more correct. --- tests/network/test-network-panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/network/test-network-panel.c b/tests/network/test-network-panel.c index 13d7eb298..7e0fd3c1d 100644 --- a/tests/network/test-network-panel.c +++ b/tests/network/test-network-panel.c @@ -273,7 +273,7 @@ test_connection_add (NetworkPanelFixture *fixture, nm_client_add_connection_async (fixture->client, conn, TRUE, NULL, add_cb, &info); info.other_remaining = 1; - WAIT_CLIENT(fixture->client, 1, NM_CLIENT_CONNECTIONS); + WAIT_CLIENT(fixture->client, 2, NM_CLIENT_CONNECTIONS, NM_CLIENT_CONNECTION_ADDED); WAIT_FINISHED(5) -- cgit v1.2.1