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

This commit is contained in:
Alexandre Julliard 2009-02-17 14:58:11 +01:00
parent f9e405692f
commit b55f6dfed5
1 changed files with 2 additions and 1 deletions

View File

@ -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)
} }
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);
} }