Commit 885f81f3 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytest: removes coding crime "catch everything"

parent 3def6eef
...@@ -114,15 +114,11 @@ def runTestSuite(test_suite_title, test_suite_arguments, logger): ...@@ -114,15 +114,11 @@ 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.
""" """
try:
# Generate the additional arguments that were given using the syntax # Generate the additional arguments that were given using the syntax
# additionalargument1=value1 additionalargument2=value2 # additionalargument1=value1 additionalargument2=value2
parsed_arguments = dict(key.split('=') for key in test_suite_arguments) parsed_arguments = dict(key.split('=') for key in test_suite_arguments)
test_suite_module = importFrom(test_suite_title) test_suite_module = importFrom(test_suite_title)
success = test_suite_module.runTestSuite(**parsed_arguments) 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