You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/09/24 16:09:54 UTC
DO NOT REPLY [Bug 51887] New: Speedup sessionid generation when
running testsuite
https://issues.apache.org/bugzilla/show_bug.cgi?id=51887
Bug #: 51887
Summary: Speedup sessionid generation when running testsuite
Product: Tomcat 7
Version: trunk
Platform: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: knst.kolinko@gmail.com
Classification: Unclassified
Created attachment 27581
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27581
2011-09-24_tc8_DummySecureRandom.patch
When I run the Tomcat tests on Windows, I see a lot of following messages in
the logs:
[junit] 24.09.2011 17:23:56 org.apache.catalina.util.SessionIdGenerator
createSecureRandom
[junit] INFO: Creation of SecureRandom instance for session ID generation using
[SHA1PRNG] took [5,019] milliseconds.
It is OK whan starting a single Tomcat instance, but when running tests it adds
5 seconds to each startup of Tomcat.
I am attaching patch that
1) Adds new DummySecureRandom class.
2) Hardcodes SessionIdGenerator to use this class.
The SessionIdGenerator part of the patch cannot be committed as is.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 51887] Speedup sessionid generation when running
testsuite
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51887
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
OS/Version| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-09-24 17:23:42 UTC ---
Solution based on the proposed patch has been applied to trunk and 7.0.x and
will be included in 7.0.22 onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 51887] Speedup sessionid generation when running
testsuite
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51887
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27581|0 |1
is patch| |
Attachment #27581|application/octet-stream |text/plain
mime type| |
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org