From c9dfb9a5f8091891710e2b718d028c6a6d741866 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 6 Oct 2020 14:46:08 -0400 Subject: Fix random failures in CdsSimulatorTest Modified CdsSimulatorTest to allocate a unique server port for each test. Issue-ID: POLICY-2862 Change-Id: I4a7ed299c7458dade7444c6c8f2b476e24500dd4 Signed-off-by: Jim Hahn --- .../model-simulators/src/main/java/org/onap/policy/simulators/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models-interactions/model-simulators/src/main') diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java index efc40367b..d9fb52bd9 100644 --- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java +++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java @@ -52,7 +52,7 @@ public class Util { private static final String CANNOT_PROCESS_PARAMETERS = "cannot parse parameters "; private static final String CANNOT_CONNECT = "cannot connect to port "; - private static final String LOCALHOST = "localhost"; + public static final String LOCALHOST = "localhost"; private Util() { // Prevent instantiation of this class -- cgit 1.2.3-korg