dotnet / dotnet/winforms

Unstable unit test: BindingContextTests.BindingContext_Item_GetIListSourceDataSourceWithDataMemberReturningIListNull_ThrowsArgumentNullException

Open
#11,795 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.BindingContextTests.BindingContext_Item_GetIListSourceDataSourceWithDataMemberReturningIListNull_ThrowsArgumentNullException

### Issue description

The case failed in [dotnet-winforms CI](https://dev.azure.com/dnceng-public/public/_build?definitionId=76&_a=summary)

**Error Message:**

- **In X86 unit:**
- Assert.IsType() Failure: Value is null
Expected: typeof(System.Windows.Forms.PropertyManager)
Actual: null

**Stack trace:**
```
at System.Windows.Forms.Tests.BindingContextTests.BindingContext_Item_GetIListSourceDataSourceWithDataMemberReturningIListNull_ThrowsArgumentNullException() in /_/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingContextTests.cs:line 682
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
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.