diff options
author | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-07-12 10:44:17 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-07-12 10:44:17 +0000 |
commit | 4085428ebd92be5fa5cd972876a349203c9bb5db (patch) | |
tree | a30cb19cf4fad51405e3d7dc34091cebb00eab09 /spec/spec_helper.rb | |
parent | 1def071991dddf6a1500c84d9e53a0edd64d45a1 (diff) | |
download | gitlab-ce-4085428ebd92be5fa5cd972876a349203c9bb5db.tar.gz |
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.rb | 1 |
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. |