Commit 24c348f0 authored by Michael Kozono's avatar Michael Kozono

Fix specs for MySQL

parent 03cba8c0
...@@ -9,7 +9,10 @@ describe Gitlab::BackgroundMigration::PopulateUntrackedUploads, :sidekiq do ...@@ -9,7 +9,10 @@ describe Gitlab::BackgroundMigration::PopulateUntrackedUploads, :sidekiq do
let!(:uploads) { described_class::Upload } let!(:uploads) { described_class::Upload }
before do before do
DatabaseCleaner.clean
drop_temp_table_if_exists
ensure_temporary_tracking_table_exists ensure_temporary_tracking_table_exists
uploads.delete_all
end end
after(:all) do after(:all) do
......
...@@ -18,6 +18,8 @@ describe Gitlab::BackgroundMigration::PrepareUntrackedUploads, :sidekiq do ...@@ -18,6 +18,8 @@ describe Gitlab::BackgroundMigration::PrepareUntrackedUploads, :sidekiq do
end end
before do before do
DatabaseCleaner.clean
drop_temp_table_if_exists drop_temp_table_if_exists
end end
......
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