Commit 5a5344a5 authored by Stan Hu's avatar Stan Hu

Merge branch 'sh-fix-burndown-seedfu' into 'master'

Skip transaction check for seeding burndown charts

Closes gitlab-development-kit#351

See merge request gitlab-org/gitlab-ee!5686
parents f850b1bd 8453d983
...@@ -9,6 +9,7 @@ class Gitlab::Seeder::Burndown ...@@ -9,6 +9,7 @@ class Gitlab::Seeder::Burndown
def seed! def seed!
Timecop.travel 10.days.ago Timecop.travel 10.days.ago
Sidekiq::Worker.skipping_transaction_check do
Sidekiq::Testing.inline! do Sidekiq::Testing.inline! do
create_milestone create_milestone
puts '.' puts '.'
...@@ -22,6 +23,7 @@ class Gitlab::Seeder::Burndown ...@@ -22,6 +23,7 @@ class Gitlab::Seeder::Burndown
reopen_issues reopen_issues
puts '.' puts '.'
end end
end
Timecop.return Timecop.return
......
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