From e17f1b93ecda022284901fb4ebdce72b4881cea3 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) --- 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 680843fc74..da8659b2c1 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, };