Skip to content

Commit 5a37e1f

Browse files
committed
(build) Add the Ignore attribute
These tests have been ignored on the develop branch, since they are known to be flaky and to cause problems. They are also failing on the GitHub Actions builds for the support branch, so decision has been made to exclude them here also.
1 parent 0554e80 commit 5a37e1f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/chocolatey.tests.integration/scenarios/InstallScenarios.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ public void should_not_have_warning_package_result()
734734
}
735735
}
736736

737+
[Ignore("This test is known to be flaky in some environments, see comments on the develop branch for the same test.")]
738+
[NotWorking("This test is known to be flaky in some environments, see comments on the develop branch for the same test.")]
737739
[WindowsOnly]
738740
[Platform(Exclude = "Mono")]
739741
public class when_force_installing_an_already_installed_package_with_a_read_and_delete_share_locked_file : ScenariosBase

src/chocolatey.tests.integration/scenarios/UninstallScenarios.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ public void should_not_have_warning_package_result()
415415
}
416416
}
417417

418+
[Ignore("This test is known to be flaky in some environments, see comments on the develop branch for the same test.")]
419+
[NotWorking("This test is known to be flaky in some environments, see comments on the develop branch for the same test.")]
418420
[WindowsOnly]
419421
[Platform(Exclude = "Mono")]
420422
public class when_uninstalling_a_package_with_a_read_and_delete_share_locked_file : ScenariosBase

0 commit comments

Comments
 (0)