Unstable unit test: System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 103
Description
Related https://github.com/dotnet/winforms/issues/11227
### Test
System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync
### Issue description
**The case failed in X64 unit tests, the failure link:**
- [#20240430.11 • Enable nullability in DesignerWindowTarget (#11279)](https://dev.azure.com/dnceng-public/public/_build/results?buildId=661041&view=ms.vss-test-web.build-test-results-tab&runId=16381632&resultId=119226&paneView=debug)
- [#20240427.4 • [main] Update dependencies from dotnet/runtime (#11281)](https://dev.azure.com/dnceng-public/public/_build/results?buildId=658065&view=ms.vss-test-web.build-test-results-tab&runId=16298392&resultId=119135&paneView=debug)
**Error Message:**
- **In X64 unit:**
- Assert.NotNull() Failure: Value is null
**Stack trace:**
```
at System.Windows.Forms.UITests.NumericUpDownTests.b__1_0(Form form, NumericUpDown control) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/NumericUpDownTests.cs:line 26
at System.Windows.Forms.UITests.ControlTestBase.<>c__DisplayClass32_0`1.<b__0>d.MoveNext() in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 315
--- End of stack trace from previous location ---
at Microsoft.VisualStudio.Threading.JoinableTask.JoinAsync(CancellationToken cancellationToken)
at System.Windows.Forms.UITests.ControlTestBase.RunFormAsync[T](Func`1 createDialog, Func`3 testDriverAsync) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 339
at System.Windows.Forms.UITests.ControlTestBase.RunSingleControlTestAsync[T](Func`3 testDriverAsync) in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Infra/ControlTestBase.cs:line 227
at System.Windows.Forms.UITests.NumericUpDownTests.NumericUpDownAccessibleObject_Focused_ReturnsCorrectValueAsync() in /_/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/NumericUpDownTests.cs:line 18
--- End of stack trace from previous location ---
```
Contributor guide
Assessment
This issue has not been assessed yet.