Hi Alan, Increasing timeout scan did not make any difference. It is one second timeout value that is causing test to fail.(though I do agree timeout scan of 50ms will be hard on slow computers, which we can increase)
I do feel that timeouts should be in terms of couple of seconds and not just 1 second. We can surely optimize its value even further, but I think 5 second should be good enough for test. it takes close to 15secs on my machine to run this test (with 5 sec timeout) Cheers, Sandip --- "Alan Cabrera (JIRA)" <[EMAIL PROTECTED]> wrote: > [ > http://issues.apache.org/jira/browse/GERONIMO-553?page=comments#action_58168 > ] > > Alan Cabrera commented on GERONIMO-553: > --------------------------------------- > > 50ms timeout scan? Yikes, that means that slower > computers will be doing nothing but scanning. Can > you revert the parameters for the test back and set > the timeout scan to 100ms and see if it passes? > > > Security Timeout Test failures > > ------------------------------ > > > > Key: GERONIMO-553 > > URL: > http://issues.apache.org/jira/browse/GERONIMO-553 > > Project: Apache Geronimo > > Type: Improvement > > Components: security > > Environment: Windows XP > > Reporter: Sandip Ghayal > > Priority: Minor > > Attachments: security_Timout_fix.patch, > security_Timout_fix.patch > > > > When during Geronimo Build I found the Security > test failures for Timeout Test. > > During investigation what I found was my login > context was being dropped during running of the > test. When investigating further I found that the > timeout was set to one second. Where as the next > request came after 1.2 secs (though the sleep in the > test was for 300 ms). > > I think that the time out values and machine speed > is too critical for this test to work with such > precisions. So I propose to increase the timeout > value to 10 secs and increase the sleep times within > the test to 3 secs and 17 secs. (just multiplied all > times by 10). > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of > the administrators: > > http://issues.apache.org/jira/secure/Administrators.jspa > - > If you want more information on JIRA, or have a bug > to report see: > http://www.atlassian.com/software/jira > > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250