winforms
winforms copied to clipboard
Flaky test DataGridView_RowHeadersWidth_SetWithHandle_GetReturnsExpected
Runfo Tracking Issue: setwithhandle_getreturnsexpected flaky failure in rolling
Build | Definition | Kind | Run Name |
---|---|---|---|
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
43733 | dotnet-winforms CI | PR 7746 | Windows_x86-xunit |
Build Result Summary
Day Hit Count | Week Hit Count | Month Hit Count |
---|---|---|
0 | 1 | 1 |
@RussKie I've offered a couple of ideas here:
I think it wood be helpful (to investigate further) to know inputs (parameters) and CallStack of extra Invalidated
. So, for example this test:
control.Invalidated += (sender, e) => invalidatedCallCount++;
can be transform to something like:
control.Invalidated += (sender, e) =>
{
Assert.True(++invalidatedCallCount <= expectedInvalidatedCallCount,
$"Input: {rowHeadersWidthSizeMode}, {rowHeadersVisible}, {autoSize}, {value}");
};
What do you think?
@Olina-Zhang - plese comment out the line of theory data that causes failures