Commit ee6ca37f by 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.
1 parent 3da76768
......@@ -69,7 +69,7 @@ class Recipe(GenericBaseRecipe):
)
common_list = (
'--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.
'--conversion_server_hostname=%s' % cloudooo_parsed.hostname,
'--conversion_server_port=%s' % cloudooo_parsed.port,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!