File: isolator.rb

package info (click to toggle)
ruby-test-prof 1.5.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 660 kB
  • sloc: ruby: 6,064; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

TestProf::BeforeAll.configure do |config|
  config.before(:begin) do
    ::Isolator.incr_thresholds!
  end

  config.after(:rollback) do
    ::Isolator.decr_thresholds!
  end
end