diff options
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/Increase-timeout-in-test-nm-client-to-30s.patch | 23 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/Increase-timeout-in-test-nm-client-to-30s.patch b/debian/patches/Increase-timeout-in-test-nm-client-to-30s.patch new file mode 100644 index 00000000..5c6d99f4 --- /dev/null +++ b/debian/patches/Increase-timeout-in-test-nm-client-to-30s.patch @@ -0,0 +1,23 @@ +From: Michael Biebl <biebl@debian.org> +Date: Thu, 5 Jul 2018 03:53:35 +0200 +Subject: Increase timeout in test-nm-client to 30s + +On slow architectures it can take longer then 3s for the test service to +start up. +--- + shared/nm-test-utils-impl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shared/nm-test-utils-impl.c b/shared/nm-test-utils-impl.c +index 3add88c..9e7312c 100644 +--- a/shared/nm-test-utils-impl.c ++++ b/shared/nm-test-utils-impl.c +@@ -164,7 +164,7 @@ nmtstc_service_init (void) + g_source_set_callback (child_source, (GSourceFunc)(void (*) (void)) _service_init_wait_child_wait, &data, NULL); + g_source_attach (child_source, context); + +- had_timeout = !nmtst_main_loop_run (data.mainloop, 3000); ++ had_timeout = !nmtst_main_loop_run (data.mainloop, 30000); + + g_source_destroy (timeout_source); + g_source_destroy (child_source); diff --git a/debian/patches/series b/debian/patches/series index 0adf0cf1..9f28a9f4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ Force-online-state-with-unmanaged-devices.patch Don-t-setup-Sleep-Monitor-if-not-booted-with-systemd.patch Don-t-make-NetworkManager-D-Bus-activatable.patch Fix-iscsiadm-path.patch +Increase-timeout-in-test-nm-client-to-30s.patch |