mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
09.15.2006 92a7350758362b7b90576a01fdf96417298e0a5c
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
@@ -297,9 +297,7 @@
    
    // change the configuration of the connection handler to use 
    // a free port
    ServerSocket serverJmxSocket = new ServerSocket();
    serverJmxSocket.setReuseAddress(true);
    serverJmxSocket.bind(new InetSocketAddress("127.0.0.1", 0));
    ServerSocket serverJmxSocket = TestCaseUtils.bindFreePort();
    int serverJmxPort = serverJmxSocket.getLocalPort();
    
    ConfigEntry config = new ConfigEntry(TestCaseUtils.makeEntry(