From: Matthias Schwarzott <zzam(a)gentoo.org> This always fails in my jenkins builds for win10 --- dlls/shell32/tests/systray.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/shell32/tests/systray.c b/dlls/shell32/tests/systray.c index 80621761240..cb2e096d4d2 100644 --- a/dlls/shell32/tests/systray.c +++ b/dlls/shell32/tests/systray.c @@ -46,7 +46,9 @@ static void test_cbsize(void) nidW.uCallbackMessage = WM_USER+17; SetLastError(0xdeadbeef); ret = pShell_NotifyIconW(NIM_ADD, &nidW); + flaky ok(ret, "NIM_ADD failed!\n"); + flaky ok(GetLastError() == ERROR_SUCCESS || GetLastError() == ERROR_NO_TOKEN, "GetLastError() = %lu\n", GetLastError()); /* using an invalid cbSize does work */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9383