Commit 7046b8c5 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytest: webrunner needs at least 5 runs to be completely instanciated

It probably means there is a regression somewhere and we should try to improve
the situation, as it slows down deployments
parent bf500dff
......@@ -189,9 +189,8 @@ class ResiliencyTestSuite(object):
command = [os.path.join(os.environ['HOME'], 'software_release', 'bin', 'slapos'), 'node', 'instance',
'--cfg=%s' % slapos_configuration_file_path,
'--pidfile=slapos.pid']
subprocess.Popen(command, stdout=devnull, stderr=devnull).wait()
subprocess.Popen(command, stdout=devnull, stderr=devnull).wait()
subprocess.Popen(command, stdout=devnull, stderr=devnull).wait()
for _ in range(5):
subprocess.Popen(command, stdout=devnull, stderr=devnull).wait()
success = self.checkDataOnCloneInstance()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment