diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-09-27 18:17:43 +0900 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2018-10-02 17:08:12 +0200 |
commit | 587560757faaedb6c61ef7aa77f11934cb76084b (patch) | |
tree | 4504e3cd7d5135ba2b65301268cdc6d8dff8134e /app/models/commit_status.rb | |
parent | 71fc37c9cf8aee5de3d4d43ec6ea97a56e34537d (diff) | |
download | gitlab-ce-587560757faaedb6c61ef7aa77f11934cb76084b.tar.gz |
Fix StuckCiJobsWorker and added tests
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 2fd3365098a..2020dd637a0 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -84,7 +84,7 @@ class CommitStatus < ActiveRecord::Base end event :drop do - transition [:created, :pending, :running] => :failed + transition [:created, :pending, :running, :scheduled] => :failed end event :success do |