diff options
author | Thomas Haller <thaller@redhat.com> | 2017-10-27 11:15:51 +0200 |
---|---|---|
committer | Francesco Giudici <fgiudici@redhat.com> | 2017-12-13 10:30:35 +0100 |
commit | ca012db98982dc02f6fdb22a0ef130964b40ab74 (patch) | |
tree | 0b7182706101ddf10bd37cf7db91f75525307e79 | |
parent | 3d8f7c814b3bf5918905acffc1048274662481f9 (diff) |
tests: increase timeout for arping test
I hit an assertion failure running with valgrind on a busy machine.
Maybe the timeout is just not long enough for every case.
Increase it.
(cherry picked from commit 88c24ffc6aa8484310505726fd7e3010ef9c7c45)
-rw-r--r-- | src/devices/tests/test-arping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/tests/test-arping.c b/src/devices/tests/test-arping.c index 59223f11f..5857c2650 100644 --- a/src/devices/tests/test-arping.c +++ b/src/devices/tests/test-arping.c @@ -87,7 +87,7 @@ test_arping_common (test_fixture *fixture, TestInfo *info) g_signal_connect (manager, NM_ARPING_MANAGER_PROBE_TERMINATED, G_CALLBACK (arping_manager_probe_terminated), loop); g_assert (nm_arping_manager_start_probe (manager, 100, NULL)); - g_assert (nmtst_main_loop_run (loop, 1000)); + g_assert (nmtst_main_loop_run (loop, 2000)); for (i = 0; info->addresses[i]; i++) { g_assert_cmpint (nm_arping_manager_check_address (manager, info->addresses[i]), |