dotnet / winforms

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

Unstable unit test: System.Windows.Forms.Tests.ToolStripTests.ToolStrip_WndProc_InvokeMouseActivateWithHandle_Success #11382

Open LeafShi1 opened 1 month ago

LeafShi1 commented 1 month ago

Related #11227

Test

System.Windows.Forms.Tests.ToolStripTests.ToolStrip_WndProc_InvokeMouseActivateWithHandle_Success

Issue description

The case failed in X64 and X86 unit tests, the failure link:

Error Message:

Stack trace:

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