Skip to content

Commit

Permalink
Tests: Disable some commonly failed tests (gitextensions#10190)
Browse files Browse the repository at this point in the history
Disable checks in Release builds

Tracked in gitextensions#10170, follow up to gitextensions#10169
  • Loading branch information
gerhardol committed Sep 11, 2022
1 parent fc90399 commit 3d10ace
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ public void View_reflects_applied_branch_filter()
var ta = revisionGridControl.GetTestAccessor();
Assert.False(revisionGridControl.CurrentFilter.IsShowFilteredBranchesChecked);
#if DEBUG
// https://github.com/gitextensions/gitextensions/issues/10170
// This test occasionaly fails with 3 visible revisions
ta.VisibleRevisionCount.Should().Be(4);
#endif
// Verify the view hasn't changed until we refresh
revisionGridControl.LatestSelectedRevision.ObjectId.ToString().Should().Be(_headCommit);
Expand Down

0 comments on commit 3d10ace

Please sign in to comment.