Commit b55f6dfe authored by Alexandre Julliard's avatar Alexandre Julliard

ole32/tests: Don't hang forever in the child process.

parent f9e40569
...@@ -2588,7 +2588,7 @@ static void test_register_local_server(void) ...@@ -2588,7 +2588,7 @@ static void test_register_local_server(void)
do do
{ {
wait = MsgWaitForMultipleObjects(1, &quit_event, FALSE, INFINITE, QS_ALLINPUT); wait = MsgWaitForMultipleObjects(1, &quit_event, FALSE, 30000, QS_ALLINPUT);
if (wait == WAIT_OBJECT_0+1) if (wait == WAIT_OBJECT_0+1)
{ {
MSG msg; MSG msg;
...@@ -2603,6 +2603,7 @@ static void test_register_local_server(void) ...@@ -2603,6 +2603,7 @@ static void test_register_local_server(void)
} }
while (wait == WAIT_OBJECT_0+1); while (wait == WAIT_OBJECT_0+1);
ok( wait == WAIT_OBJECT_0, "quit event wait timed out\n" );
hr = CoRevokeClassObject(cookie); hr = CoRevokeClassObject(cookie);
ok_ole_success(hr, CoRevokeClassObject); ok_ole_success(hr, CoRevokeClassObject);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment