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

Jean-Noel Rouvignac
24.43.2015 f2025e8b877000e3e984148af09e1bf1840f4d16
Try to fix randomly failing test.

JmxTestCase.java:
In getJmxConnectionHandler(), increase maximum wait time from 6s to 10s.
1 files modified
2 ■■■ changed files
opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxTestCase.java
@@ -86,7 +86,7 @@
    final RmiConnector rmiConnector = jmxConnectionHandler.getRMIConnector();
    int cnt = 0;
    while (cnt <= 30 && !isReady(rmiConnector))
    while (cnt <= 50 && !isReady(rmiConnector))
    {
      Thread.sleep(200);
      cnt++;