Give the child more time to quit

This commit is contained in:
Marc Di Luzio 2019-02-10 12:30:29 +00:00
parent e36a172144
commit ab5fdad3cb

View File

@ -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 */