summaryrefslogtreecommitdiff
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:34:56 +0200
commit483de2bb93ff66afc439f89d3ce8f539acd87867 (patch)
tree9c10c60531229b3f34533269faff8ec0cb7313c0
parent23fa1b3272f5af3520c619f2d4101dcc2fbbf914 (diff)
downloadNetworkManager-483de2bb93ff66afc439f89d3ce8f539acd87867.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?)
-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;