mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Sleep a little before running the test suite remotely.
This commit is contained in:
parent
1d069dda6a
commit
9ca574a2b3
1 changed files with 6 additions and 2 deletions
|
@ -10,10 +10,11 @@ This script is intended to be shell-centric!!
|
|||
import os
|
||||
import re
|
||||
import sys
|
||||
import subprocess
|
||||
import hashlib
|
||||
import time
|
||||
import random
|
||||
import hashlib
|
||||
import optparse
|
||||
import subprocess
|
||||
|
||||
try:
|
||||
from salt.utils.nb_popen import NonBlockingPopen
|
||||
|
@ -120,6 +121,9 @@ def run(opts):
|
|||
print('VM Bootstrapped. Exit code: {0}'.format(retcode))
|
||||
sys.stdout.flush()
|
||||
|
||||
print('Sleeping for 5 seconds to allow the minion to breath a little')
|
||||
time.sleep(5)
|
||||
|
||||
# Run tests here
|
||||
cmd = (
|
||||
'salt -t 1800 {vm_name} state.sls {sls} pillar="{pillar}" '
|
||||
|
|
Loading…
Add table
Reference in a new issue