summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-18 15:20:14 +0200
committerThomas Haller <thaller@redhat.com>2016-08-18 15:20:46 +0200
commitbdd0f722b8d3cceb8b4e85c26c4129759bb6931b (patch)
treeefcf8e8e886cb0dc2acb406207e43d5366e58c5c
parent5d09d45b422415b58f3f9f280c87b53a3d199454 (diff)
downloadNetworkManager-bdd0f722b8d3cceb8b4e85c26c4129759bb6931b.tar.gz
platform/tests: relax condition for test
Got a test failure for /link/software/bond
-rw-r--r--src/platform/tests/test-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/tests/test-link.c b/src/platform/tests/test-link.c
index 9bf8aca831..9987362044 100644
--- a/src/platform/tests/test-link.c
+++ b/src/platform/tests/test-link.c
@@ -221,7 +221,7 @@ test_slave (int master, int type, SignalData *master_changed)
g_assert_cmpint (nm_platform_link_get_master (NM_PLATFORM_GET, ifindex), ==, master);
accept_signals (link_changed, 1, 3);
- accept_signals (master_changed, 0, 1);
+ accept_signals (master_changed, 0, 2);
/* enslaveing brings put the slave */
if (NM_IN_SET (link_type, NM_LINK_TYPE_BOND, NM_LINK_TYPE_TEAM))