Timeout is firing late under load
---------------------------------

                 Key: JRUBY-5382
                 URL: http://jira.codehaus.org/browse/JRUBY-5382
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC1
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo
            Priority: Blocker
             Fix For: JRuby 1.6RC2


The timeout-loading script in test/load/load_timeout.rb should run to 
completion, and all calls to timeout should either timeout or complete 
successfully. Instead, it appears that the timeout error is firing late, after 
we should already have cancelled the "kill" job and during our printing of that 
iterations result:

{noformat}
~/projects/jruby ➔ jruby test/load/load_timeout.rb 
timeout
timeout
timeout
timeout
timeout
ok
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
timeout
ok
org/jruby/RubyIO.java:1297:in `write': execution expired
        from org/jruby/RubyIO.java:2235:in `write'
        from org/jruby/RubyIO.java:2190:in `puts'
        from org/jruby/RubyKernel.java:524:in `puts'
        from test/load/load_timeout.rb:11:in `__file__'
        from org/jruby/RubyFixnum.java:252:in `times'
        from test/load/load_timeout.rb:5:in `__file__'
{noformat}

This fails consistently, and must be repaired for 1.6 final.

-- 
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


Reply via email to