dinput/tests: Increase async bool handler wait timeout.

We waited on the driver-side buffers to be sent, but sometimes the
async completion needs a bit more time to complete itself.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-05-13 09:49:51 +02:00 committed by Alexandre Julliard
parent 8ee96cff6c
commit 5097e67f55
1 changed files with 2 additions and 2 deletions

View File

@ -5537,7 +5537,7 @@ static void test_windows_gaming_input(void)
IAsyncInfo_Release( async_info );
wait_hid_pending( file, 100 );
ret = WaitForSingleObject( bool_async_handler.event, 100 );
ret = WaitForSingleObject( bool_async_handler.event, 500 );
ok( ret == 0, "WaitForSingleObject returned %#lx\n", ret );
CloseHandle( bool_async_handler.event );
check_bool_async( bool_async, 1, Completed, S_OK, TRUE );
@ -5582,7 +5582,7 @@ static void test_windows_gaming_input(void)
IAsyncInfo_Release( async_info );
wait_hid_pending( file, 100 );
ret = WaitForSingleObject( bool_async_handler.event, 100 );
ret = WaitForSingleObject( bool_async_handler.event, 500 );
ok( ret == 0, "WaitForSingleObject returned %#lx\n", ret );
CloseHandle( bool_async_handler.event );
check_bool_async( bool_async, 1, 4, S_OK, FALSE );