Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 29443 invoked from network); 13 Mar 2005 00:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Mar 2005 00:12:21 -0000 Received: (qmail 77820 invoked by uid 500); 13 Mar 2005 00:12:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 77777 invoked by uid 500); 13 Mar 2005 00:12:17 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 77764 invoked by uid 99); 13 Mar 2005 00:12:17 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web51607.mail.yahoo.com (HELO web51607.mail.yahoo.com) (206.190.38.212) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 12 Mar 2005 16:12:15 -0800 Received: (qmail 78680 invoked by uid 60001); 13 Mar 2005 00:12:13 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=1EsP7zeOcUtD9pwaJNiwFM1JVU+KjmV1TheUzftUltvjxnU6o6hSI0T3mj1Ox7WmvVwglqTWwRPicStSIPL2ini6hA8qQ+/gxSoSiAwf3Ib5XR4ftcLAnUEKzfwVq5Qf1A+uusrJMdLkJIetoS+/OE2O6Y77qzrs5Pastin93BM= ; Message-ID: <20050313001213.78678.qmail@web51607.mail.yahoo.com> Received: from [209.195.89.196] by web51607.mail.yahoo.com via HTTP; Sat, 12 Mar 2005 16:12:12 PST Date: Sat, 12 Mar 2005 16:12:12 -0800 (PST) From: Sandip Ghayal Subject: Re: [jira] Commented: (GERONIMO-553) Security Timeout Test failures To: dev@geronimo.apache.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-231364627-1110672732=:77766" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-231364627-1110672732=:77766 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Hi Gianny, I have submitted the fix for this issue with timeout value of 1500 secs, sleep of 700 msecs and 1500 msecs as mentioned in Jira and the tests passed. Making it lower then that makes the test unstable atleast on my machine, and some other machines that I am using. I have attached the fix. Cheers, Sandip --- "Gianny DAMOUR (JIRA)" wrote: > [ > http://issues.apache.org/jira/browse/GERONIMO-553?page=comments#action_60704 > ] > > Gianny DAMOUR commented on GERONIMO-553: > ---------------------------------------- > > Quick follow up. > > Sandip, could you please tell us what is the current > status for this issue? > > Alan suggested: > " > 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? > " > > Thanks. > > > Security Timeout Test failures > > ------------------------------ > > > > Key: GERONIMO-553 > > URL: > http://issues.apache.org/jira/browse/GERONIMO-553 > > Project: 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! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ --0-231364627-1110672732=:77766 Content-Type: application/octet-stream; name="security_Timout_fix.patch" Content-Transfer-Encoding: base64 Content-Description: security_Timout_fix.patch Content-Disposition: attachment; filename="security_Timout_fix.patch" SW5kZXg6IHNyYy90ZXN0L29yZy9hcGFjaGUvZ2Vyb25pbW8vc2VjdXJpdHkv amFhcy9UaW1lb3V0VGVzdC5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 DQotLS0gc3JjL3Rlc3Qvb3JnL2FwYWNoZS9nZXJvbmltby9zZWN1cml0eS9q YWFzL1RpbWVvdXRUZXN0LmphdmEJKHJldmlzaW9uIDE1NjA2NCkNCisrKyBz cmMvdGVzdC9vcmcvYXBhY2hlL2dlcm9uaW1vL3NlY3VyaXR5L2phYXMvVGlt ZW91dFRlc3QuamF2YQkod29ya2luZyBjb3B5KQ0KQEAgLTYyLDcgKzYyLDcg QEANCiAgICAgICAgIGdiZWFuID0gbmV3IEdCZWFuRGF0YShsb2dpblNlcnZp Y2UsIEphYXNMb2dpblNlcnZpY2UuZ2V0R0JlYW5JbmZvKCkpOwogICAgICAg ICBnYmVhbi5zZXRSZWZlcmVuY2VQYXR0ZXJucygiUmVhbG1zIiwgQ29sbGVj dGlvbnMuc2luZ2xldG9uKG5ldyBPYmplY3ROYW1lKCJnZXJvbmltby5zZWN1 cml0eTp0eXBlPVNlY3VyaXR5UmVhbG0sKiIpKSk7CiAgICAgICAgIGdiZWFu LnNldEF0dHJpYnV0ZSgiZXhwaXJlZExvZ2luU2NhbkludGVydmFsTWlsbGlz IiwgbmV3IEludGVnZXIoNTApKTsKLSAgICAgICAgZ2JlYW4uc2V0QXR0cmli dXRlKCJtYXhMb2dpbkR1cmF0aW9uTWlsbGlzIiwgbmV3IEludGVnZXIoMTAw MCkpOworICAgICAgICBnYmVhbi5zZXRBdHRyaWJ1dGUoIm1heExvZ2luRHVy YXRpb25NaWxsaXMiLC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