Commit 045aac89 authored by Jérome Perrin's avatar Jérome Perrin

no forver retry software

parent 9382c720
......@@ -41,6 +41,7 @@ class SlapOSInstance(object):
"""
def __init__(self, working_directory):
self.retry_software_count = 0
self.reset_software_count = 0
self.retry = False
self.working_directory = working_directory
......
......@@ -66,8 +66,10 @@ class UnitTestRunner(object):
reset_software = slapos_instance.retry_software_count > 10
if reset_software:
slapos_instance.retry_software_count = 0
logger.info('testnode, retry_software_count: %r',
slapos_instance.retry_software_count)
slapos_instance.reset_software_count += 1
logger.info('testnode, retry_software_count: %r, reset_software_count: %r',
slapos_instance.retry_software_count,
slapos_instance.reset_software_count)
# XXX Create a new controler because working_directory can be
# Different depending of the preparation
......
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