This project is archived and is in readonly mode.

Changeset [79a06225ef0e148eb5da541711f74163b5efb18d] by Jamis Buck

January 19th, 2011 @ 05:57 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/79a06225ef0e148eb5da541711f74...

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>