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:
Thomas Haller 2019-08-02 13:34:40 +02:00
parent 23fa1b3272
commit 483de2bb93

View file

@ -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;