Commit 30f5779e authored by Nikola Milojevic's avatar Nikola Milojevic

Merge branch '356970-seed-test-db-after-recreate' into 'master'

Seed test DB if schema is recreated

See merge request gitlab-org/gitlab!83772
parents 133d8ea5 b9d8f777
......@@ -20,6 +20,9 @@ RSpec.configure do |config|
# We drop and recreate the database if any table has more than 1200 columns, just to be safe.
if any_connection_class_with_more_than_allowed_columns?
recreate_all_databases!
# Seed required data as recreating DBs will delete it
TestEnv.seed_db
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