fix: use 127.0.0.1 instead of localIP in LockdownModeTaskTestCase (#605)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
| | |
| | | final ResultCode expectedResultCode, String testName) throws Exception |
| | | { |
| | | TestTimer timer = new TestTimer.Builder() |
| | | .maxSleep(10, SECONDS) |
| | | .sleepTimes(10, MILLISECONDS) |
| | | .maxSleep(30, SECONDS) |
| | | .sleepTimes(100, MILLISECONDS) |
| | | .toTimer(); |
| | | InternalSearchOperation searchOp = timer.repeatUntilSuccess(new Callable<InternalSearchOperation>() |
| | | { |
| | |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014-2016 ForgeRock AS. |
| | | * Portions copyright 2026 3A Systems, LLC. |
| | | */ |
| | | package org.opends.server.tasks; |
| | | |
| | |
| | | boolean isLoopback = localAddress.isLoopbackAddress(); |
| | | String[] args = |
| | | { |
| | | "-h", localIP, |
| | | "-h", "127.0.0.1", |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-b", "", |
| | | "-s", "base", |
| | |
| | | // anonymous connection. |
| | | args = new String[] |
| | | { |
| | | "-h", localIP, |
| | | "-h", "127.0.0.1", |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-b", "", |
| | | "-s", "base", |