Commit 8b474fec authored by Stan Hu's avatar Stan Hu

Merge branch 'speedup-rspec-boot' into 'master'

Exclude ar_internal_metadata from DB cleaner

See merge request gitlab-org/gitlab!24093
parents fe275a80 132221c6
# frozen_string_literal: true
module DbCleaner
def delete_from_all_tables!(except: nil)
def delete_from_all_tables!(except: [])
except << 'ar_internal_metadata'
DatabaseCleaner.clean_with(:deletion, cache_tables: false, except: except)
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