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

Jean-Noel Rouvignac
09.34.2013 585d1bf2936de4197aaf3af84f07a5607e013a1e
opends/tests/unit-tests-testng/src/server/org/opends/server/snmp/SNMPConnectionManager.java
@@ -240,10 +240,8 @@
   */
  protected void enableSnmp() throws Exception
  {
    // Get a free port
    this.snmpPort = TestCaseUtils.bindFreePort().getLocalPort();
    this.trapSnmpPort = TestCaseUtils.bindFreePort().getLocalPort();
    this.snmpPort = TestCaseUtils.findFreePort();
    this.trapSnmpPort = TestCaseUtils.findFreePort();
    ArrayList<Modification> mods = new ArrayList<Modification>();