Assume failed code execution if no status was received
This commit is contained in:
@ -365,7 +365,7 @@ class SubmissionsController < ApplicationController
|
|||||||
cause: cause,
|
cause: cause,
|
||||||
submission: @submission,
|
submission: @submission,
|
||||||
exit_code: @testrun[:exit_code], # might be nil, e.g., when the run did not finish
|
exit_code: @testrun[:exit_code], # might be nil, e.g., when the run did not finish
|
||||||
status: @testrun[:status],
|
status: @testrun[:status] || :failed,
|
||||||
output: @testrun[:output].presence, # TODO: Remove duplicated saving of the output after creating TestrunMessages
|
output: @testrun[:output].presence, # TODO: Remove duplicated saving of the output after creating TestrunMessages
|
||||||
container_execution_time: @testrun[:container_execution_time],
|
container_execution_time: @testrun[:container_execution_time],
|
||||||
waiting_for_container_time: @testrun[:waiting_for_container_time]
|
waiting_for_container_time: @testrun[:waiting_for_container_time]
|
||||||
|
Reference in New Issue
Block a user