Hello, I'm having an issue running specs on a Rails project. Here's how bundle exec rake spec --trace ends at a random point after some seconds of hanging with a high CPU usage: https://gist.github.com/1392208 I say "a random point" because I can run the problematic spec alone without problems, and if I delete its content and run the entire suite again the error will happen during another spec's example. Given that doesn't change, it always repeats on the same example though. My setup is Ubuntu 10.04 on a Mac VirtualBox, bundler 1.0.18. Other people in my team have the same setup (but not entirely the same ruby patch level version etc), and do not have this issue. I'd very much appreciate any hint how to solve this.
on 2011-11-24 22:42
on 2011-12-19 15:02
For the record, the issue was accidentally assigning a mock User to Time.zone in a controller spec. Rails and RSpec would go in an endless loop of calling and recording a message.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.