uncaught timeout seems to cause silent failure
----------------------------------------------
Key: JRUBY-5201
URL: http://jira.codehaus.org/browse/JRUBY-5201
Project: JRuby
Issue Type: Bug
Environment: jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-11-18
2e438b1) (Java HotSpot(TM) Client VM 1.6.0_18) [Windows 7-x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
require 'rubygems'
require 'spec' # rspec 1.3
require 'timeout'
describe 'timeout' do
it 'should' do
begin
Timeout::timeout(2) {
sleep
}
rescue
end
end
end
When I run this code, it returns "without a message" and with %ERRORLEVEL% set
to 1, so...I think perhaps something bad happens. 1.5.5 and 1.6.0
Cheers!
-r
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email