mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-30 13:24:48 +00:00
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?)
This commit is contained in:
parent
23fa1b3272
commit
483de2bb93
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue