[USER32_APITEST] Comment out a test for GetMessageTime that randomly fails on Windows

This commit is contained in:
Timo Kreuzer 2023-02-03 18:26:49 +02:00
parent b292036347
commit 28a305e26a

View file

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