diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-31 03:20:54 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 14:30:28 +0900 |
commit | dcf09d11447c264f4b4028ea80eea2be913c2f5b (patch) | |
tree | d992feb77bb5246ba05ebf18610b05bce8859c63 /spec/workers | |
parent | 597bc29260c4be3a1527a1c5307bec40004bac4d (diff) | |
download | gitlab-ce-dcf09d11447c264f4b4028ea80eea2be913c2f5b.tar.gz |
Implement `failure_reason` on `ci_builds`
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/stuck_ci_jobs_worker_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/stuck_ci_jobs_worker_spec.rb b/spec/workers/stuck_ci_jobs_worker_spec.rb index 549635f7f33..f0691813e77 100644 --- a/spec/workers/stuck_ci_jobs_worker_spec.rb +++ b/spec/workers/stuck_ci_jobs_worker_spec.rb @@ -20,6 +20,7 @@ describe StuckCiJobsWorker do it 'changes status' do worker.perform is_expected.to eq('failed') + expect(job).to be_failed_by_stuck_and_timeout end end |