Skip to content

Commit 80423f5

Browse files
author
williams-jack
committed
fix: remove extraneous timed_out field, which should refer to the did_timeout field
1 parent 1e096b1 commit 80423f5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/controllers/api/grades_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def orca_response_params
7575
{
7676
**shell_response_hash,
7777
status_code: shell_response_hash[:status_code].to_i,
78-
timed_out: shell_response_hash[:timed_out] == 'true'
78+
did_timeout: shell_response_hash[:did_timeout] == 'true'
7979
}
8080
end
8181
errors = params[:errors] || []

test/controllers/api/grades_controller_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class GradesControllerTest < ActionController::TestCase
5454
stdout: 'TAP output.',
5555
stderr: '',
5656
status_code: 0,
57-
timed_out: false,
57+
did_timeout: false,
5858
cmd: ['echo', '"TAP output."']
5959
}],
6060
errors: []

0 commit comments

Comments
 (0)