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
cubicweb
cubes
celerytask
Commits
658444ceb863
Commit
20d82ca3
authored
Apr 27, 2021
by
Elouan Martinet
Browse files
[test] Fix test_segfault due to new format
parent
2994ebc26c69
Pipeline
#52476
passed with stages
in 3 minutes and 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
test/test_celerytask.py
View file @
658444ce
...
...
@@ -326,8 +326,8 @@ class SegfaultTC(BaseCeleryTaskTC):
self
.
wait_async_task
(
cnx
,
task
.
task_id
,
timeout
=
15
)
wf
=
cnx
.
entity_from_eid
(
task
.
eid
).
cw_adapt_to
(
'IWorkflowable'
)
self
.
assertEqual
(
wf
.
state
,
'failed'
)
self
.
assert
Equal
(
wf
.
latest_trinfo
().
comment
,
(
'Worker exited prematurely: signal 11 (SIGSEGV).'
)
)
self
.
assert
In
(
'Worker exited prematurely: signal 11 (SIGSEGV)'
,
wf
.
latest_trinfo
().
comment
)
if
__name__
==
'__main__'
:
...
...
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