Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
a9412a0a
Commit
a9412a0a
authored
Jan 23, 2017
by
Philip ABBET
Browse files
Impose a timeout on tests executing an algorithm inside a docker container
parent
5ebb4e01
Pipeline
#6716
canceled with stage
in 5 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/core/test/test_execution.py
View file @
a9412a0a
...
...
@@ -130,7 +130,7 @@ class TestExecution(unittest.TestCase):
assert
executor
.
valid
,
'
\n
* %s'
%
'
\n
* '
.
join
(
executor
.
errors
)
with
executor
:
result
=
executor
.
process
(
self
.
host
)
result
=
executor
.
process
(
self
.
host
,
timeout_in_minutes
=
1
)
assert
result
assert
'status'
in
result
assert
'stdout'
in
result
...
...
Write
Preview
Supports
Markdown
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