This project is archived and is in readonly mode.
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
-
Xavier Noria June 22nd, 2010 @ 11:17 PM
- Assigned user set to Carl Lerche
-
Rohit Arondekar June 25th, 2010 @ 01:31 AM
- State changed from new to resolved
I think this commit http://github.com/rails/rails/commit/b549d93d2f34a18971e691ff93e4c5... resolve this ticket. If not make a comment and I'll reopen.
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>