This project is archived and is in readonly mode.

#4937 ✓resolved
calavera

An activesupport test won't ever pass on jruby or windows

Reported by calavera | June 22nd, 2010 @ 10:43 PM

ParentIsolationTest#"self.setup is run only once" won't ever pass on windows or jruby because the Isolation module uses a hack to call tests on those environments that don't support fork.

The hack is in activesupport/lib/activesupport/testing/isolation.rb line 130. It calls each test in a separate runtime so it needs to call the setup of the class each time and causes the test fails.

I include a patch to ignore that test for windows or jruby.

Comments and changes to this ticket

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>

Attachments

Pages