From 42049137da29269894e58afc7d91d09b8cf08c26 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski <ayufan@ayufan.eu> Date: Wed, 7 Jun 2017 13:45:19 +0200 Subject: [PATCH] Print used memory --- spec/spec_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 10f68a00d6d93..6f48bb713366d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -69,6 +69,10 @@ TestEnv.init end + config.after(:context) do + puts "GC statistics: #{GC.stat}" + end + config.before(:all) do License.destroy_all TestLicense.init -- GitLab