mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #49642 from rallytime/flaky-tests
Skip some unreliable tests
This commit is contained in:
commit
bb1dcdf3cb
3 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,7 @@ class ReactorTest(ModuleCase, SaltMinionEventAssertsMixin):
|
|||
Test Salt's reactor system
|
||||
'''
|
||||
|
||||
@flaky()
|
||||
@flaky
|
||||
def test_ping_reaction(self):
|
||||
'''
|
||||
Fire an event on the master and ensure
|
||||
|
|
|
@ -367,6 +367,7 @@ class CallTest(ShellCase, testprogram.TestProgramCase, ShellCaseCommonTestsMixin
|
|||
if os.path.isdir(config_dir):
|
||||
shutil.rmtree(config_dir)
|
||||
|
||||
@skipIf(True, 'This test is unreliable. Need to investigate why more deeply.')
|
||||
@flaky
|
||||
def test_issue_15074_output_file_append(self):
|
||||
output_file_append = os.path.join(TMP, 'issue-15074')
|
||||
|
@ -400,6 +401,7 @@ class CallTest(ShellCase, testprogram.TestProgramCase, ShellCaseCommonTestsMixin
|
|||
if os.path.exists(output_file_append):
|
||||
os.unlink(output_file_append)
|
||||
|
||||
@skipIf(True, 'This test is unreliable. Need to investigate why more deeply.')
|
||||
@flaky
|
||||
def test_issue_14979_output_file_permissions(self):
|
||||
output_file = os.path.join(TMP, 'issue-14979')
|
||||
|
|
|
@ -11,6 +11,7 @@ from tests.support.case import ShellCase
|
|||
from tests.support.helpers import flaky
|
||||
from tests.support.mixins import ShellCaseCommonTestsMixin
|
||||
from tests.support.paths import TMP
|
||||
from tests.support.unit import skipIf
|
||||
|
||||
# Import salt libs
|
||||
import salt.utils.files
|
||||
|
@ -92,12 +93,14 @@ class MatchTest(ShellCase, ShellCaseCommonTestsMixin):
|
|||
assert minion_in_returns('minion', data) is True
|
||||
assert minion_in_returns('sub_minion', data) is True
|
||||
|
||||
@skipIf(True, 'This test is unreliable. Need to investigate why more deeply.')
|
||||
@flaky
|
||||
def test_compound_pillar(self):
|
||||
data = self.run_salt("-C 'I%@companions%three%sarah*' test.ping")
|
||||
assert minion_in_returns('minion', data) is True
|
||||
assert minion_in_returns('sub_minion', data) is True
|
||||
|
||||
@skipIf(True, 'This test is unreliable. Need to investigate why more deeply.')
|
||||
@flaky
|
||||
def test_coumpound_pillar_pcre(self):
|
||||
data = self.run_salt("-C 'J%@knights%^(Lancelot|Galahad)$' test.ping")
|
||||
|
|
Loading…
Add table
Reference in a new issue