mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adjust the mine test a little bit to give it a better chance of success (#34647)
This commit is contained in:
parent
8a0209101e
commit
50360263c5
1 changed files with 4 additions and 1 deletions
|
@ -2,8 +2,9 @@
|
|||
'''
|
||||
Test the salt mine system
|
||||
'''
|
||||
# Import Pytohn libs
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
import time
|
||||
|
||||
# Import Salt Testing libs
|
||||
from salttesting.helpers import ensure_in_syspath
|
||||
|
@ -83,6 +84,8 @@ class MineTest(integration.ModuleCase):
|
|||
minion_tgt=minion_id
|
||||
)
|
||||
)
|
||||
time.sleep(1)
|
||||
for minion_id in ('minion', 'sub_minion'):
|
||||
ret = self.run_function(
|
||||
'mine.get',
|
||||
[minion_id, 'grains.items'],
|
||||
|
|
Loading…
Add table
Reference in a new issue