Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-27 12:09:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-27 12:09:01 +0300
commitc72e5ebe9938d315ec598197873e71a80168d40a (patch)
tree439bf5c40aaf774e5a301825af517cb52726f450 /spec/lib
parentffc43b862df32a590eae874bcbb11109b46dc8be (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/profiler_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/profiler_spec.rb b/spec/lib/gitlab/profiler_spec.rb
index 1e53faf7275..603417c5532 100644
--- a/spec/lib/gitlab/profiler_spec.rb
+++ b/spec/lib/gitlab/profiler_spec.rb
@@ -221,6 +221,12 @@ describe Gitlab::Profiler do
.map { |(total)| total.to_f }
expect(output).to include('Kernel#sleep')
+
+ if total_times != total_times.sort.reverse
+ warn "Profiler test failed, output is:"
+ warn output
+ end
+
expect(total_times).to eq(total_times.sort.reverse)
expect(total_times).not_to eq(total_times.uniq)
end