Skip to content
Snippets Groups Projects
Commit d75b9caf authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Add spec

parent abf2f561
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -797,6 +797,15 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
 
it { expect(job).to be_runner_system_failure }
end
context 'when failure_reason is runner_execution_timeout' do
before do
update_job(state: 'failed', failure_reason: 'runner_execution_timeout')
job.reload
end
it { expect(job).to be_runner_execution_timeout }
end
end
 
context 'when trace is given' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment