JDK-6769658 : javax/management/remote/mandatory/connection/IllegalIIOPURLTest isn't reliable
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6u12
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2008-11-10
  • Updated: 2016-12-15
  • Resolved: 2013-07-24
Related Reports
Relates :  
Relates :  
Description
The unit test javax/management/remote/mandatory/connection/IllegalIIOPURLTest needs some improvement.
When validating JDK 6 u12 b01 it has failed (output attached).

Comments
As I pointed out, the problem was from iiop starting up, so one solution is to give up the test if failed to start the iiop server. Considering that the IIOP is optional in JDK8, so we will not fix this.
24-07-2013

test name: javax/management/remote/mandatory/connection/IllegalIIOPURLTest.java
25-12-2012

EVALUATION The test starts another jvm to run orbd, if the JAVA_HOME is not in a local disc or the test machine is slow or too busy, the orbd may takes too much time to start, so the JMX IIOP server will fail to register itself to the orbd. The solution is either to run the orb in the same JVM, or to have a fixed timeout to wait orbd, if timeout we have to skip the test.
12-11-2008