summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2017-12-22 11:42:13 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2017-12-22 18:37:22 +0100
commitcfa463cab6840cc1db8def798edecc3c0b1e8e7b (patch)
treefd4778576ce7a38ef0014e9703e5a239ffe586cc
parent8342a66cb6d8b7f19950370a83cc74bf6638a526 (diff)
downloadNetworkManager-fg/test_ip6_address_general.tar.gz
platfomr/tests: relax checking for signals in test_ip6_address_general()fg/test_ip6_address_general
Leave some room to process an extra address change. # 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);