United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7142596 TEST_BUG: many RMI tests fail because of port conflicts
JDK-7142596 : TEST_BUG: many RMI tests fail because of port conflicts

Details
Type:
Bug
Submit Date:
2012-02-03
Status:
Closed
Updated Date:
2013-12-17
Project Name:
JDK
Resolved Date:
2012-07-24
Component:
core-libs
OS:
generic
Sub-Component:
java.rmi
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8,8-pool
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:

Sub Tasks

Description
RMI tests start the rmiregistry on the default port.  When multiple tests are run in parallel, the rmiregistry fails to start as the port is already in use.  This causes the test to fail.

                                    

Comments
EVALUATION

Need to changes tests so they don't used fixed ports.
                                     
2012-07-17
PUBLIC COMMENTS

Modified tests to use random port numbers instead of fixed port numbers.
                                     
2012-07-17
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/b6f78869c66d
                                     
2012-08-14
Verified with Nightly results, issue is fixed
                                     
2013-08-20



Hardware and Software, Engineered to Work Together