diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
commit | 3cccd102ba543e02725d247893729e5c73b38295 (patch) | |
tree | f36a04ec38517f5deaaacb5acc7d949688d1e187 /spec/factories/gitlab | |
parent | 205943281328046ef7b4528031b90fbda70c75ac (diff) |
Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42
Diffstat (limited to 'spec/factories/gitlab')
-rw-r--r-- | spec/factories/gitlab/database/background_migration/batched_migrations.rb | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/spec/factories/gitlab/database/background_migration/batched_migrations.rb b/spec/factories/gitlab/database/background_migration/batched_migrations.rb index 79b4447b76e..5ff90ff44b9 100644 --- a/spec/factories/gitlab/database/background_migration/batched_migrations.rb +++ b/spec/factories/gitlab/database/background_migration/batched_migrations.rb @@ -13,12 +13,24 @@ FactoryBot.define do total_tuple_count { 10_000 } pause_ms { 100 } - trait :finished do - status { :finished } + trait(:paused) do + status { 0 } end - trait :failed do - status { :failed } + trait(:active) do + status { 1 } + end + + trait(:finished) do + status { 3 } + end + + trait(:failed) do + status { 4 } + end + + trait(:finalizing) do + status { 5 } end end end |