From e2907cdadc814bf5d7999f93d2c9260d423985fb Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 7 Nov 2024 18:37:33 +0100 Subject: [PATCH] core: increase timeout for test_nm_utils_kill_child() The test starts a watchdog process that eventually kills the process group after a certain time. When running under valgrind concurrently to other tests the current timeout is not enough; increase it. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2067 (cherry picked from commit 23ffa5fc6e7acbd7a96138c6c18f478f5127177d) (cherry picked from commit e17f1b93ecda022284901fb4ebdce72b4881cea3) (cherry picked from commit 5db6475087b11447eaf5176a9b415eb3e4080120) (cherry picked from commit 25a8ed7772a0ccdfaf56d5154ac05c8f0f2922a1) --- src/core/tests/test-core-with-expect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tests/test-core-with-expect.c b/src/core/tests/test-core-with-expect.c index 015101262c..4f6fcbfcc7 100644 --- a/src/core/tests/test-core-with-expect.c +++ b/src/core/tests/test-core-with-expect.c @@ -229,7 +229,7 @@ do_test_nm_utils_kill_child(void) char *argv_watchdog[] = { "bash", "-c", - "sleep 4; " + "sleep 15; " "kill -KILL 0; #watchdog for #" TEST_TOKEN, NULL, };