mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Some sleeping between steps
This commit is contained in:
parent
546dc2463d
commit
ba96fbc159
1 changed files with 7 additions and 1 deletions
|
@ -392,7 +392,8 @@ def run(opts):
|
|||
sys.exit(retcode)
|
||||
print('matches!')
|
||||
|
||||
# Run tests here
|
||||
# Run preparation SLS
|
||||
time.sleep(3)
|
||||
cmd = (
|
||||
'salt -t 1800 {vm_name} state.sls {prep_sls} pillar="{pillar}" '
|
||||
'--no-color'.format(
|
||||
|
@ -424,7 +425,9 @@ def run(opts):
|
|||
delete_vm(opts)
|
||||
sys.exit(retcode)
|
||||
|
||||
# Run remote checks
|
||||
if opts.test_git_url is not None:
|
||||
time.sleep(1)
|
||||
# Let's find out if the cloned repository if checked out from the
|
||||
# desired repository
|
||||
sys.stdout.write('Grabbing the cloned repository remotes information ... ')
|
||||
|
@ -465,6 +468,8 @@ def run(opts):
|
|||
print('matches!')
|
||||
|
||||
if opts.test_git_commit is not None:
|
||||
time.sleep(1)
|
||||
|
||||
# Let's find out if the cloned repository is checked out at the desired
|
||||
# commit
|
||||
sys.stdout.write('Grabbing the cloned repository commit information ... ')
|
||||
|
@ -505,6 +510,7 @@ def run(opts):
|
|||
print('matches!')
|
||||
|
||||
# Run tests here
|
||||
time.sleep(3)
|
||||
cmd = (
|
||||
'salt -t 1800 {vm_name} state.sls {sls} pillar="{pillar}" --no-color'.format(
|
||||
sls=opts.sls,
|
||||
|
|
Loading…
Add table
Reference in a new issue