From 8341a194604ef66064d0db9b00e7ca8b6a778711 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Fri, 04 Oct 2013 20:09:21 +0000
Subject: [PATCH] Fix typo and increase wait time when enabling the JMXConnectionHandler to see if it helps with CI that runs on single CPU machine.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java
index 6ac680c..b49e79d 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java
+++ b/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)
       {

--
Gitblit v1.10.0