Sleep a little before running the test suite remotely.

This commit is contained in:
Pedro Algarvio 2013-09-06 17:35:30 +01:00
parent 1d069dda6a
commit 9ca574a2b3

View file

@ -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}" '