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

copilot-swe-agent[bot]
3 days ago 11f9915f4361f0e87ae0387d0df99e5446946250
fix: use 127.0.0.1 instead of localIP for LDAP connections in LockdownModeTaskTestCase

Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/807d09ee-6b9e-40b4-a1a9-e956b013c9c2

Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 files modified
4 ■■■■ changed files
opendj-server-legacy/src/test/java/org/opends/server/tasks/LockdownModeTaskTestCase.java 4 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/tasks/LockdownModeTaskTestCase.java
@@ -92,7 +92,7 @@
    boolean isLoopback = localAddress.isLoopbackAddress();
    String[] args =
    {
      "-h", localIP,
      "-h", "127.0.0.1",
      "-p", String.valueOf(TestCaseUtils.getServerLdapPort()),
      "-b", "",
      "-s", "base",
@@ -263,7 +263,7 @@
    // anonymous connection.
    args = new String[]
    {
      "-h", localIP,
      "-h", "127.0.0.1",
      "-p", String.valueOf(TestCaseUtils.getServerLdapPort()),
      "-b", "",
      "-s", "base",