Commit 75a59f73 authored by Nicolas Wavrant's avatar Nicolas Wavrant

Revert "resiliencytest: removes coding crime "catch everything""

This reverts commit 885f81f3.
parent 018ee82d
...@@ -114,11 +114,15 @@ def runTestSuite(test_suite_title, test_suite_arguments, logger): ...@@ -114,11 +114,15 @@ def runTestSuite(test_suite_title, test_suite_arguments, logger):
Run a specified test suite, by dynamically loading the module and calling Run a specified test suite, by dynamically loading the module and calling
its "runTestSuite" method. its "runTestSuite" method.
""" """
# Generate the additional arguments that were given using the syntax try:
# additionalargument1=value1 additionalargument2=value2 # Generate the additional arguments that were given using the syntax
parsed_arguments = dict(key.split('=') for key in test_suite_arguments) # additionalargument1=value1 additionalargument2=value2
test_suite_module = importFrom(test_suite_title) parsed_arguments = dict(key.split('=') for key in test_suite_arguments)
success = test_suite_module.runTestSuite(**parsed_arguments) test_suite_module = importFrom(test_suite_title)
success = test_suite_module.runTestSuite(**parsed_arguments)
except:
logger.exception('Impossible to run resiliency test:')
success = False
return success return success
class ScalabilityTest(object): class ScalabilityTest(object):
......
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