Fix specs for MySQL
This commit is contained in:
parent
03cba8c0f1
commit
24c348f0d1
|
@ -9,7 +9,10 @@ describe Gitlab::BackgroundMigration::PopulateUntrackedUploads, :sidekiq do
|
|||
let!(:uploads) { described_class::Upload }
|
||||
|
||||
before do
|
||||
DatabaseCleaner.clean
|
||||
drop_temp_table_if_exists
|
||||
ensure_temporary_tracking_table_exists
|
||||
uploads.delete_all
|
||||
end
|
||||
|
||||
after(:all) do
|
||||
|
|
|
@ -18,6 +18,8 @@ describe Gitlab::BackgroundMigration::PrepareUntrackedUploads, :sidekiq do
|
|||
end
|
||||
|
||||
before do
|
||||
DatabaseCleaner.clean
|
||||
|
||||
drop_temp_table_if_exists
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue