https://git.reactos.org/?p=reactos.git;a=commitdiff;h=28a305e26a13b7fe3a7f9…
commit 28a305e26a13b7fe3a7f9970fb2ba5b9f657eed3
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Feb 3 18:26:49 2023 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Mon Apr 17 00:41:31 2023 +0300
[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;