summaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-08-02 13:34:40 +0200
committerThomas Haller <thaller@redhat.com>2019-08-02 13:38:32 +0200
commit51b3afa2eef2e3a420bcb92196381cef533e4fad (patch)
tree28f5f86f4205fbc9205f55edd422d5b285742336 /src/platform
parentf2fe6c03ee3fe5e262cbaa5b898f05bb8e349d0e (diff)
downloadNetworkManager-51b3afa2eef2e3a420bcb92196381cef533e4fad.tar.gz
platform/tests: relax assertion for platform signal in test_slave()
Seen on gitlab-ci. NMPlatformSignalAssert: ../src/platform/tests/test-link.c:260, test_slave(): failure to accept signal [0,2] times: link-changed-changed ifindex 15 (3 times received) ERROR: src/platform/tests/test-link-linux - too few tests run (expected 76, got 6) ERROR: src/platform/tests/test-link-linux - exited with status 133 (terminated by signal 5?) (cherry picked from commit 483de2bb93ff66afc439f89d3ce8f539acd87867)
Diffstat (limited to 'src/platform')
-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 5926dac112..27ec3f0706 100644
--- a/src/platform/tests/test-link.c
+++ b/src/platform/tests/test-link.c
@@ -257,7 +257,7 @@ test_slave (int master, int type, SignalData *master_changed)
case NM_LINK_TYPE_TEAM:
g_assert (nm_platform_link_set_down (NM_PLATFORM_GET, ifindex));
accept_signal (link_changed);
- accept_signals (master_changed, 0, 2);
+ accept_signals (master_changed, 0, 3);
break;
default:
break;