Browse Source

Give the child more time to quit

Marc Di Luzio 6 năm trước cách đây
mục cha
commit
ab5fdad3cb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      daemon/gamemode-tests.c

+ 2 - 2
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 */