From ab5fdad3cb7234741dbac60531cdaa36256b41bc Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sun, 10 Feb 2019 12:30:29 +0000 Subject: [PATCH] Give the child more time to quit --- daemon/gamemode-tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/gamemode-tests.c b/daemon/gamemode-tests.c index e28adcc..0b97d4c 100644 --- a/daemon/gamemode-tests.c +++ b/daemon/gamemode-tests.c @@ -223,13 +223,13 @@ static int run_dual_client_tests(void) } /* Give the child a chance to finish */ - usleep(10000); + usleep(100000); // Wait for the child to finish up int wstatus; while (waitpid(child, &wstatus, WNOHANG) == 0) { LOG_MSG("...Waiting for child to quit...\n"); - usleep(10000); + usleep(100000); } /* Verify that gamemode is now innactive */