From 895de040e2c6a7555bb899a2bc64b8bc6f81b807 Mon Sep 17 00:00:00 2001 From: Francesco Giudici Date: Fri, 22 Dec 2017 11:42:13 +0100 Subject: [PATCH] platform/tests: relax checking for signals in test-address-linux # Start of ipv6 tests ../tools/run-nm-test.sh: line 193: 32194 Trace/breakpoint trap (core dumped) "${NMTST_DBUS_RUN_SESSION[@]}" "$TEST" "$@" # NetworkManager-FATAL-ERROR: NMPlatformSignalAssert: ../src/platform/tests/test-address.c:153, test_ip6_address_general(): failure to accept signal [0,1] times: 'ip6-address-changed-changed' ifindex 11 (2 times received) (cherry picked from commit f9b9c5979ef5d90cc704edb1f2459a7b5e4d41db) (cherry picked from commit 029f78983c78af8f6ca7f5b4857d5292909405ae) --- src/platform/tests/test-address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/tests/test-address.c b/src/platform/tests/test-address.c index 4c139ef007..faaf5daaca 100644 --- a/src/platform/tests/test-address.c +++ b/src/platform/tests/test-address.c @@ -150,7 +150,7 @@ test_ip6_address_general (void) /* Add address again (aka update) */ nmtstp_ip6_address_add (NULL, EX, ifindex, addr, IP6_PLEN, in6addr_any, lifetime, preferred, flags); - accept_signals (address_changed, 0, 1); + accept_signals (address_changed, 0, 2); /* Test address listing */ addresses = nm_platform_ip6_address_get_all (NM_PLATFORM_GET, ifindex);