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

fixup

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