Adjust the mine test a little bit to give it a better chance of success (#34647)

This commit is contained in:
Mike Place 2016-07-13 14:51:28 -06:00 committed by Nicole Thomas
parent 8a0209101e
commit 50360263c5

View file

@ -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'],