dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.28k stars 954 forks source link

Unstable unit test: System.Windows.Forms.Tests.MenuStripTests.MenuStrip_WndProc_InvokeMouseActivate_Success #11560

Open LeafShi1 opened 1 week ago

LeafShi1 commented 1 week ago

Related #11227

Test

System.Windows.Forms.Tests.MenuStripTests.MenuStrip_WndProc_InvokeMouseActivate_Success

Issue description

The case failed in PR build, the failed scenario:

Error Message:

Stack trace:

 at System.Windows.Forms.Tests.MenuStripTests.MenuStrip_WndProc_InvokeMouseActivate_Success() in /_/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/MenuStripTests.cs:line 755
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)