Closed
Bug 297592
Opened 20 years ago
Closed 20 years ago
Need a JSS Selfserv test for checking memory leaks
Categories
(JSS Graveyard :: Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.1
People
(Reporter: Sandeep.Konchady, Assigned: Sandeep.Konchady)
Details
Attachments
(1 file)
|
24.42 KB,
patch
|
glenbeasley
:
superreview+
|
Details | Diff | Splinter Review |
JSS does not have a client/server test like that of NSS selfserv. It would be a
good idea to create a JSS client/server test that can take in number of sockets
and cipher and communicate with each other. This would also allow us to test
for memory leaks and other stress tests using JSS.
Server:
[1] Standalone, that waits for client request on a specific port
[2] Accepts client request using a separate thread and responds to client request
Client:
[1] Standalone, that takes at least two parameters - # sockets to create and
cipher. You could also provide server hostname, port #, etc if not running locally
[2] Knows how to communicate with the server (port #), and forks a thread per
connected socket
[3] Performs a write/read on this socket to/from server every 1 sec interval
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•20 years ago
|
||
JSS_SelfServServer.java and JSS_SelfServClient.java are server and client using
JSS that can takein a predefined number of sockets and communicate between the
two until killed. This allows for testing of max allowable sockets for a given
system, and also any other memory leaks in the system.
Attachment #189371 -
Flags: superreview?(glen.beasley)
Updated•20 years ago
|
Attachment #189371 -
Flags: superreview?(glen.beasley) → superreview+
| Assignee | ||
Updated•20 years ago
|
Target Milestone: --- → 4.1
| Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 189371 [details] [diff] [review]
JSS_SelfServServer and JSS_SelfServClient program for testing memory leaks
Modified the code to add System.exit(0) or System.exit(1) where applicable.
RCS file:
/cvsroot/mozilla/security/jss/org/mozilla/jss/tests/JSS_SelfServServer.java,v
done
Checking in JSS_SelfServServer.java;
/cvsroot/mozilla/security/jss/org/mozilla/jss/tests/JSS_SelfServServer.java,v
<-- JSS_SelfServServer.java
initial revision: 1.1
done
RCS file:
/cvsroot/mozilla/security/jss/org/mozilla/jss/tests/JSS_SelfServClient.java,v
done
Checking in JSS_SelfServClient.java;
/cvsroot/mozilla/security/jss/org/mozilla/jss/tests/JSS_SelfServClient.java,v
<-- JSS_SelfServClient.java
initial revision: 1.1
done
| Assignee | ||
Updated•20 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•