Fix typo and increase wait time when enabling the JMXConnectionHandler to see if it helps with CI that runs on single CPU machine.
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.protocols.jmx; |
| | | |
| | |
| | | /** |
| | | * 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 |
| | | { |
| | |
| | | enableJmx(); |
| | | synchronized (this) |
| | | { |
| | | this.wait(1000); |
| | | this.wait(2000); |
| | | } |
| | | for (ConnectionHandler handler : handlers) |
| | | { |