Skip to content

Commit

Permalink
GC.stress
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Mar 13, 2024
1 parent 87b5df6 commit 2b86f72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
class Minitest::Test
def setup
puts "#{self.class.name}##{name}"
GC.stress = true
end

def teardown
GC.stress = false
end
end

0 comments on commit 2b86f72

Please sign in to comment.