Skip to content

Commit

Permalink
Adding Skip attributes for flaky tests
Browse files Browse the repository at this point in the history
Related Issue dotnet#6610 and Issue dotnet#6654
These tests fail sometimes in x86 CI build, that blocks deployment of fixes into sdk.
  • Loading branch information
vladimir-krestov committed Feb 9, 2022
1 parent 1ca626c commit 897a520
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ await RunTestAsync(async (form, tabControl) =>
});
}

[WinFormsFact]
[ActiveIssue("https://github.com/dotnet/winforms/issues/6654")]
[WinFormsFact(Skip = "Flaky tests, see: https://github.com/dotnet/winforms/issues/6654")]
public async Task TabControl_TabPage_IsHoveredWithMouse_IsFalse_WhenMouseIs_OutsideMainScreenAsync()
{
await RunTestAsync(async (form, tabControl) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7104,7 +7104,9 @@ public void ToolStrip_SetItemLocation_ItemHasDifferentParent_ThrowsNotSupportedE
Assert.Throws<NotSupportedException>(() => control.SetItemLocation(item, Point.Empty));
}

[WinFormsFact]
[ActiveIssue("https://github.com/dotnet/winforms/issues/6610")]
[ConditionalWinFormsFact(UnsupportedArchitecture = Architecture.X86,
Skip = "Flaky tests, see: https://github.com/dotnet/winforms/issues/6610")]
public void ToolStrip_WndProc_InvokeMouseActivate_Success()
{
using var control = new SubToolStrip();
Expand Down

0 comments on commit 897a520

Please sign in to comment.