diff options
Diffstat (limited to 'spec/factories/gitlab/database/postgres_index_bloat_estimate.rb')
-rw-r--r-- | spec/factories/gitlab/database/postgres_index_bloat_estimate.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/gitlab/database/postgres_index_bloat_estimate.rb b/spec/factories/gitlab/database/postgres_index_bloat_estimate.rb new file mode 100644 index 00000000000..878650714b8 --- /dev/null +++ b/spec/factories/gitlab/database/postgres_index_bloat_estimate.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :postgres_index_bloat_estimate, class: 'Gitlab::Database::PostgresIndexBloatEstimate' do + association :index, factory: :postgres_index + + identifier { index.identifier } + bloat_size_bytes { 10.megabytes } + end +end |