summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-02-18 17:40:24 +0100
committerThomas Haller <thaller@redhat.com>2021-02-18 17:40:27 +0100
commit39c3eacb7d3a5f5ad13c299045216ccbaace1858 (patch)
treec2d1e2c7446646a2b7ca6b8e8a9726ffce6e4ffa
parent6b784064601d95c128abf2ad0a060c433bd8b648 (diff)
downloadNetworkManager-39c3eacb7d3a5f5ad13c299045216ccbaace1858.tar.gz
platform/tests: relax check for signals in test_ip6_route()
/route/ip6: NMPlatformSignalAssert: ../src/core/platform/tests/test-route.c:449, test_ip6_route(): failure to accept signal one time: 'ip6-route-changed-added' ifindex 0 (2 times received)
-rw-r--r--src/core/platform/tests/test-route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/platform/tests/test-route.c b/src/core/platform/tests/test-route.c
index 47587865b3..645bb5b18f 100644
--- a/src/core/platform/tests/test-route.c
+++ b/src/core/platform/tests/test-route.c
@@ -446,7 +446,7 @@ test_ip6_route(void)
metric,
mss);
g_assert(nmtstp_ip6_route_get(NM_PLATFORM_GET, ifindex, &network, plen, metric, NULL, 0));
- accept_signal(route_added);
+ accept_signals(route_added, 1, 2);
/* Add route again */
nmtstp_ip6_route_add(NM_PLATFORM_GET,