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

neil_a_wilson
06.38.2007 de0ed241310b604b234eff56ed26fe4e08700642
Update the test listener so that if pauseOnFailure is used and a failure
occurs, it will print out the LDAP/LDAPS/JMX ports so it's easier to
communicate with the server.
1 files modified
6 ■■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestListener.java 6 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestListener.java
@@ -285,6 +285,12 @@
        tempFile.deleteOnExit();
        originalSystemErr.println("**** Pausing test execution until file " +
                                  tempFile.getCanonicalPath() + " is removed.");
        originalSystemErr.println("LDAP Port:   " +
                                  TestCaseUtils.getServerLdapPort());
        originalSystemErr.println("LDAPS Port:  " +
                                  TestCaseUtils.getServerLdapsPort());
        originalSystemErr.println("JMX Port:    " +
                                  TestCaseUtils.getServerJmxPort());
      }
      catch (Exception e)
      {