Commit 4691fd02 authored by blackst0ne's avatar blackst0ne

Fix seeds

parent ddd2a256
require './spec/support/sidekiq'
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
Gitlab::Seeder.quiet do
project_urls = [
'https://gitlab.com/gitlab-org/gitlab-test.git',
......
require './spec/support/sidekiq'
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
Gitlab::Seeder.quiet do
Group.all.each do |group|
User.all.sample(4).each do |user|
......
......@@ -78,7 +78,7 @@ class Gitlab::Seeder::CycleAnalytics
def seed!
Sidekiq::Worker.skipping_transaction_check do
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
issues = create_issues
puts '.'
......
require './spec/support/sidekiq'
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
Gitlab::Seeder.quiet do
flag = 'SEED_NESTED_GROUPS'
......
......@@ -11,7 +11,7 @@ class Gitlab::Seeder::LabeledIssues
end
def seed!
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
group = create_group
create_projects(group)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment