dotnet / dotnet/winforms

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

Open
#11,382 0 comments 0 reactions 0 assignees View on GitHub
disabled-test test-bug
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

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:**

- [#20240501.11 • Update branding to 6.0.31 (#11302)](https://dev.azure.com/dnceng-public/public/_build/results?buildId=662561&view=ms.vss-test-web.build-test-results-tab&runId=16425146&resultId=107698&paneView=debug)
- [#20240513.6 • [main] Update dependencies from dotnet/runtime (#11364)](https://dev.azure.com/dnceng-public/public/_build/results?buildId=673968&view=ms.vss-test-web.build-test-results-tab&runId=16709506&resultId=111929&paneView=debug)

**Error Message:**
- Assert.Equal() Failure
Expected: 0
Actual: 2

**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)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.