Commit 7d1c354c authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup

parent e065dd76
......@@ -186,12 +186,11 @@ class ResiliencyTestSuite(object):
'--cfg=%s' % slapos_configuration_file_path,
'--pidfile=slapos.pid']
self.logger.info('Running "slapos node instance" with command : %s' % ' '.join(command))
stdin, stderr = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
stdin, stderr = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
stdin, stderr = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
if stdout:
print "Erreur when running slapos node instance :"
print stderr
for i in range(3):
stdin, stderr = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
if stderr:
print "Erreur when running slapos node instance on try %d :" % i
print stderr
success = self.checkDataOnCloneInstance()
if success:
......
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