Set profiler only for postgresql not mysql
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812609
This commit is contained in:
parent
f1e2387e28
commit
76e7d2564d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ if Rails.env.test?
|
|||
end
|
||||
end
|
||||
|
||||
if ENV.has_key?('CI')
|
||||
if ENV.has_key?('CI') && ENV['GITLAB_DATABASE'] == 'postgresql'
|
||||
RspecProfiling::VCS::Git.prepend(RspecProfilingExt::Git)
|
||||
RspecProfiling::Run.prepend(RspecProfilingExt::Run)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue