From 28a305e26a13b7fe3a7f9970fb2ba5b9f657eed3 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 3 Feb 2023 18:26:49 +0200 Subject: [PATCH] [USER32_APITEST] Comment out a test for GetMessageTime that randomly fails on Windows --- modules/rostests/apitests/user32/GetMessageTime.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/rostests/apitests/user32/GetMessageTime.c b/modules/rostests/apitests/user32/GetMessageTime.c index de41755a37f..e958f35bb46 100644 --- a/modules/rostests/apitests/user32/GetMessageTime.c +++ b/modules/rostests/apitests/user32/GetMessageTime.c @@ -67,8 +67,9 @@ WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) case WM_MOUSEMOVE: trace("WM_MOUSEMOVE\n"); ok_int(s_nCount, 5); - ok(GetMessageTime() - s_nMsgTime < TIMER_INTERVAL, - "GetMessageTime() is wrong, compared to previous one\n"); + // This test randomly fails on Windows 2003 + //ok(GetMessageTime() - s_nMsgTime < TIMER_INTERVAL, + // "GetMessageTime() is wrong, compared to previous one\n"); ok(GetTickCount() - (DWORD)GetMessageTime() < TIMER_INTERVAL / 2, "GetMessageTime() is wrong, compared to GetTickCount()\n"); s_bReach_WM_MOUSEMOVE = TRUE;