[PATCH 06/12] user32/tests: Wait indefinitely for the child process to notify.

Rémi Bernon rbernon at codeweavers.com
Tue Nov 12 14:41:59 CST 2019


We could create the process, so now it should eventually signal the
event unless there's something very wrong going on. This wait sometimes
times out on the testbot, this makes it infinite.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/user32/tests/msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 41310864574..f548ffbb584 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -16293,7 +16293,7 @@ static void test_WaitForInputIdle( char *argv0 )
         ok( ret, "CreateProcess '%s' failed err %u.\n", path, GetLastError() );
         if (ret)
         {
-            ret = WaitForSingleObject( start_event, 5000 );
+            ret = WaitForSingleObject( start_event, INFINITE );
             ok( ret == WAIT_OBJECT_0, "%u: WaitForSingleObject failed\n", i );
             if (ret == WAIT_OBJECT_0)
             {
-- 
2.24.0.rc2




More information about the wine-devel mailing list