Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.toolbox
Commits
885f81f3
Commit
885f81f3
authored
Oct 10, 2018
by
Nicolas Wavrant
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resiliencytest: removes coding crime "catch everything"
parent
3def6eef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
slapos/resiliencytest/__init__.py
slapos/resiliencytest/__init__.py
+5
-9
No files found.
slapos/resiliencytest/__init__.py
View file @
885f81f3
...
@@ -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
):
...
...
Nicolas Wavrant
@Nicolas
mentioned in commit
75a59f73
·
Oct 10, 2018
mentioned in commit
75a59f73
mentioned in commit 75a59f7398f1429436dd4de66700843fd2ae2eee
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment