[Capistrano] Re: Cap2 test question?

2007-03-30 Thread Jamis Buck
Yeah...I've not been able to figure that out. It only happens intermittently to me. If you go into test/gateway_test.rb and comment out the test_initialize_when_connect_lags_should_open_and_set_session_value test (lines 13-17), it should go away. Any threading/concurrency gurus around

[Capistrano] Re: Cap2 test question?

2007-03-30 Thread Doug Barth
The problem here is that your signaling thread is signaling before the originating thread has had the chance to wait on the condition. This results in the wait hanging forever waiting for a signal. The fix is to synchronize the creation of the background thread as well. Here's a patch that fixes