summaryrefslogtreecommitdiff
path: root/spec/factories/gitlab/database/background_migration/batched_jobs.rb
blob: 52bc04447da571611542aa8fafc5c9cbdbd00ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

FactoryBot.define do
  factory :batched_background_migration_job, class: '::Gitlab::Database::BackgroundMigration::BatchedJob' do
    batched_migration factory: :batched_background_migration

    min_value { 1 }
    max_value { 10 }
    batch_size { 5 }
    sub_batch_size { 1 }
  end
end