Add debug log statements to runner connection

This commit is contained in:
Felix Auringer
2021-06-28 10:11:15 +02:00
committed by Sebastian Serth
parent cc412b73bc
commit d1a5773e60
3 changed files with 9 additions and 6 deletions

View File

@ -123,7 +123,7 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy
# Assume correct termination for now and return exit code 0
# TODO: Can we use the actual exit code here?
@exit_code = 0
@status = :terminated
@status = :terminated_by_codeocean
@socket.close
when /#{format(@strategy.execution_environment.test_command, class_name: '.*', filename: '.*', module_name: '.*')}/
# TODO: Super dirty hack to redirect test output to stderr (remove attr_reader afterwards)