lib/tunemygc/spies/minitest.rb in tunemygc-1.0.35 vs lib/tunemygc/spies/minitest.rb in tunemygc-1.0.36

- old
+ new

@@ -15,20 +15,9 @@ TuneMyGc.log "uninstalled GC tracepoint" MiniTest::Unit::TestCase.__send__(:include, disabled_hooks_module) TuneMyGc.log "uninstalled minitest spy" end - def check_uninstall - if ENV["RUBY_GC_TUNE_TESTS"] - @limit ||= Integer(ENV["RUBY_GC_TUNE_TESTS"]) - @processed += 1 - if @processed == @limit - uninstall - TuneMyGc.log "kamikaze after #{@processed} of #{@limit} tests" - end - end - end - def hooks_module Module.new do def before_setup tunemygc_before_setup super \ No newline at end of file