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

Ludovic Poitou
04.09.2013 8341a194604ef66064d0db9b00e7ca8b6a778711
Fix typo and increase wait time when enabling the JMXConnectionHandler to see if it helps with CI that runs on single CPU machine.
1 files modified
6 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java 6 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2013 ForgeRock AS.
 */
package org.opends.server.protocols.jmx;
@@ -78,8 +79,7 @@
  /**
   * Get a reference to the JMX connection handler.
   *
   * @throws an
   *           Exception is something went wrong.
   * @throws Exception if something went wrong.
   */
  protected JmxConnectionHandler getJmxConnectionHandler() throws Exception
  {
@@ -100,7 +100,7 @@
      enableJmx();
      synchronized (this)
      {
        this.wait(1000);
        this.wait(2000);
      }
      for (ConnectionHandler handler : handlers)
      {