Fix random failures in CdsSimulatorTest 86/113586/2
authorJim Hahn <jrh3@att.com>
Tue, 6 Oct 2020 18:46:08 +0000 (14:46 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 6 Oct 2020 18:54:23 +0000 (14:54 -0400)
commitc9dfb9a5f8091891710e2b718d028c6a6d741866
treee8cc72294207b7242999bd5cf7fb0f4e521c8454
parent9591e2dd26eacd9fd44ac72c325b83ca3d3534f9
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 <jrh3@att.com>
models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java
models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/CdsSimulatorTest.java