Rémi Bernon : dinput/tests: Increase async bool handler wait timeout.
Alexandre Julliard
julliard at winehq.org
Mon May 16 15:37:56 CDT 2022
Module: wine
Branch: master
Commit: 5097e67f5543a702642c84e7060ef12584565a00
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5097e67f5543a702642c84e7060ef12584565a00
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Fri May 13 09:49:51 2022 +0200
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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dinput/tests/force_feedback.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/tests/force_feedback.c b/dlls/dinput/tests/force_feedback.c
index a1e41dedf44..806212d966d 100644
--- a/dlls/dinput/tests/force_feedback.c
+++ b/dlls/dinput/tests/force_feedback.c
@@ -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 );
More information about the wine-cvs
mailing list