This project is archived and is in readonly mode.

Changeset [b5cf2b4b82de877c07bb2cca02085d2b3ec195e0] by Jamis Buck

January 19th, 2011 @ 05:12 PM

scrub instance variables from test cases on teardown

this prevents test state from accumulating, resulting in leaked
objects and slow tests due to overactive GC.
https://github.com/rails/rails/commit/b5cf2b4b82de877c07bb2cca02085...

Committed by Jamis Buck

  • A activesupport/lib/active_support/testing/garbage_collection.rb
  • M activesupport/lib/active_support/test_case.rb
  • M activesupport/test/test_case_test.rb
  • M activesupport/test/test_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>