I'm running my specs through parallel_tests on the capybara-webkit driver. I have the following ruby environment:
ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.4.2]
Running through rvm on a gemset which contains the following (truncated for capybara, rails, rspec, and parallel_tests for relevance. If seeing a larger swathe of my gemset would help, please let me know):
*** LOCAL GEMS ***
...
capybara (1.1.2)
parallel_tests (0.8.12)
rails (3.2.11)
rspec (2.11.0)
When I run my test suit on a single process with rake spec
, all of my tests run to completion.
However, when runnning through parallel_tests, the following happens:
8 processes for 220 specs, ~ 27 specs per process
Whereafter the processes will eventually start coming back:
Finished in 11 minutes 15.76 seconds
Finished in 11 minutes 28.89 seconds
But, after the first 6 processes come back, parallel_spec will hang indefinitely, never terminate, and never print output for the remaining 2 processes.
I'm on a MacBook Pro running OS X Lion, with a 2.4GHz Intel i7.
So my question is simple: Why is it hanging, how can I debug why its hanging, and how can I stop it from hanging and allow parallel_tests to run to completion?