Skip to content

Commit

Permalink
platform/tests: relax assertion for accepting signals in /link/softwa…
Browse files Browse the repository at this point in the history
…re/bond test

  /link/software/bond: NMPlatformSignalAssert: ../src/platform/tests/test-link.c:243, test_slave(): failure to accept signal [1,2] times: link-changed-changed ifindex 13 (3 times received)
  • Loading branch information
thom311 committed Jun 14, 2019
1 parent a251712 commit 97c6726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/tests/test-link.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ test_slave (int master, int type, SignalData *master_changed)
/* Set master up */
g_assert (nm_platform_link_set_up (NM_PLATFORM_GET, master, NULL));
g_assert (nm_platform_link_is_up (NM_PLATFORM_GET, master));
accept_signals (master_changed, 1, 2);
accept_signals (master_changed, 1, 3);

g_signal_handlers_disconnect_by_func (NM_PLATFORM_GET, G_CALLBACK (test_link_changed_signal_cb), &test_link_changed_signal_arg1);
g_signal_handlers_disconnect_by_func (NM_PLATFORM_GET, G_CALLBACK (test_link_changed_signal_cb), &test_link_changed_signal_arg2);
Expand Down

0 comments on commit 97c6726

Please sign in to comment.