mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #48890 from Ch3LL/cmd_test
add sleep in test_cmd integration test
This commit is contained in:
commit
f8bfab4f9f
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ import errno
|
|||
import os
|
||||
import textwrap
|
||||
import tempfile
|
||||
import time
|
||||
|
||||
# Import Salt Testing libs
|
||||
from tests.support.case import ModuleCase
|
||||
|
@ -69,6 +70,7 @@ class CMDRunRedirectTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
super(CMDRunRedirectTest, self).setUp()
|
||||
|
||||
def tearDown(self):
|
||||
time.sleep(1)
|
||||
for path in (self.state_file, self.test_tmp_path, self.test_file):
|
||||
try:
|
||||
os.remove(path)
|
||||
|
|
Loading…
Add table
Reference in a new issue