Commit 76e7d256 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Set profiler only for postgresql not mysql

Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812609
parent f1e2387e
......@@ -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
......
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