Pārlūkot izejas kodu

Extend the sleep for the child gamemode in tests

Marc Di Luzio 6 gadi atpakaļ
vecāks
revīzija
6a240d550e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      daemon/gamemode-tests.c

+ 2 - 2
daemon/gamemode-tests.c

@@ -201,8 +201,8 @@ static int run_dual_client_tests(void)
 	/* Parent process */
 	/* Parent process */
 	/* None of these should early-out as we need to clean up the child */
 	/* None of these should early-out as we need to clean up the child */
 
 
-	/* Give the child a chance to reqeust gamemode */
-	usleep(1000);
+	/* Give the child a chance to request gamemode */
+	usleep(10000);
 
 
 	/* Check that when we request gamemode, it replies that the other client is connected */
 	/* Check that when we request gamemode, it replies that the other client is connected */
 	if (verify_other_client_connected() != 0)
 	if (verify_other_client_connected() != 0)