[PATCH v2 1/6] dinput/tests: Increase async bool handler wait timeout.
Rémi Bernon
wine at gitlab.winehq.org
Fri May 13 03:01:13 CDT 2022
From: Rémi Bernon <rbernon at codeweavers.com>
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>
---
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 );
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/62
More information about the wine-devel
mailing list