Commit 20d82ca3 authored by Elouan Martinet's avatar 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
......@@ -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.assertEqual(wf.latest_trinfo().comment, (
'Worker exited prematurely: signal 11 (SIGSEGV).'))
self.assertIn('Worker exited prematurely: signal 11 (SIGSEGV)',
if __name__ == '__main__':
Supports Markdown
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