Skip to content

Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection call …

What does this MR do?

Casts ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection call.

DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:"") instead. (called from establish_connection at /builds/gitlab-org/gitlab-ce/config/initializers/rspec_profiling.rb:4)

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports