debian-mirror-gitlab/spec/factories/gitlab/database/postgres_autovacuum_activity.rb
2022-08-13 15:12:31 +05:30

10 lines
302 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :postgres_autovacuum_activity, class: 'Gitlab::Database::PostgresAutovacuumActivity' do
table_identifier { "#{schema}.#{table}" }
schema { 'public' }
table { 'projects' }
vacuum_start { Time.zone.now - 3.minutes }
end
end