Commit ee6ca37f authored by Rafael Monnerat's avatar Rafael Monnerat

slapos.recipe.erp5_test: cloudooo-retry-count should be optional.

This prevent outdated instances to fail resilience, so it makes this change backward compatible.
parent 3da76768
...@@ -69,7 +69,7 @@ class Recipe(GenericBaseRecipe): ...@@ -69,7 +69,7 @@ class Recipe(GenericBaseRecipe):
) )
common_list = ( common_list = (
'--conversion_server_url=' + cloudooo_url, '--conversion_server_url=' + cloudooo_url,
'--conversion_server_retry_count=%s' % self.options['cloudooo-retry-count'], '--conversion_server_retry_count=%s' % self.options.get('cloudooo-retry-count', 2),
# BBB: We still have test suites that only accept the following 2 options. # BBB: We still have test suites that only accept the following 2 options.
'--conversion_server_hostname=%s' % cloudooo_parsed.hostname, '--conversion_server_hostname=%s' % cloudooo_parsed.hostname,
'--conversion_server_port=%s' % cloudooo_parsed.port, '--conversion_server_port=%s' % cloudooo_parsed.port,
......
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