Mark 2 tests as flaky

- integration.spm.test_man_spm.SPMManTest.test_man_spm
- integration.ssh.test_state.SSHStateTest.test_state_running
This commit is contained in:
rallytime 2018-02-22 14:29:17 -05:00
parent 9b2bc1982c
commit 49e49ae51b
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19
2 changed files with 4 additions and 1 deletions

View file

@ -11,7 +11,7 @@ import tempfile
# Import Salt Testing libs
from tests.support.case import ModuleCase
from tests.support.helpers import destructiveTest
from tests.support.helpers import destructiveTest, flaky
from tests.support.paths import CODE_DIR
@ -33,6 +33,7 @@ class SPMManTest(ModuleCase):
def tearDown(self):
shutil.rmtree(self.tmpdir)
@flaky
def test_man_spm(self):
'''
test man spm

View file

@ -9,6 +9,7 @@ import time
# Import Salt Testing Libs
from tests.support.case import SSHCase
from tests.support.helpers import flaky
from tests.support.paths import TMP
# Import Salt Libs
@ -162,6 +163,7 @@ class SSHStateTest(SSHCase):
check_file = self.run_function('file.file_exists', [SSH_SLS_FILE], wipe=False)
self.assertTrue(check_file)
@flaky
def test_state_running(self):
'''
test state.running with salt-ssh