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
diff options
context:
space:
mode:
authorAleksei Lipniagov <alipniagov@gitlab.com>2019-07-12 13:44:17 +0300
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-07-12 13:44:17 +0300
commit4085428ebd92be5fa5cd972876a349203c9bb5db (patch)
treea30cb19cf4fad51405e3d7dc34091cebb00eab09 /spec/spec_helper.rb
parent1def071991dddf6a1500c84d9e53a0edd64d45a1 (diff)
Gather memory usage data in tests
Log memory stats after running each spec file and compile the report.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 62fdc039b5e..21c36001a1b 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -103,6 +103,7 @@ RSpec.configure do |config|
config.include RedisHelpers
config.include Rails.application.routes.url_helpers, type: :routing
config.include PolicyHelpers, type: :policy
+ config.include MemoryUsageHelper
if ENV['CI']
# This includes the first try, i.e. tests will be run 4 times before failing.