debian-mirror-gitlab/spec/factories/gitlab/database/postgres_autovacuum_activity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
302 B
Ruby
Raw Normal View History

2022-08-13 15:12:31 +05:30
# 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