summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2017-12-22 11:42:13 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2018-01-08 16:48:56 +0100
commitf9b9c5979ef5d90cc704edb1f2459a7b5e4d41db (patch)
tree197be55a59693b2ad0893d8f9cebd5083403d459
parent29e566cc7199568597c5c24c9f190db7e097307d (diff)
downloadNetworkManager-f9b9c5979ef5d90cc704edb1f2459a7b5e4d41db.tar.gz
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)
-rw-r--r--src/platform/tests/test-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/tests/test-address.c b/src/platform/tests/test-address.c
index d96d49bdd4..ddef88533c 100644
--- a/src/platform/tests/test-address.c
+++ b/src/platform/tests/test-address.c
@@ -148,7 +148,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 = nmtstp_platform_ip6_address_get_all (NM_PLATFORM_GET, ifindex);