Unit test fails when port number occupied 29/107729/1
authorliamfallon <liam.fallon@est.tech>
Fri, 15 May 2020 10:15:11 +0000 (11:15 +0100)
committerliamfallon <liam.fallon@est.tech>
Fri, 15 May 2020 10:15:15 +0000 (11:15 +0100)
commitc0b182649ee4ad6b963990ae15c3f3bcec2e09bc
treea6e0b9b7242ba964c97c77ea4745f0c8c98b7be3
parentea317372413753320db681efb9a1e469c3776f42
Unit test fails when port number occupied

If the port specified in the allocateAddress() is occupied, the method
returns the next highest available port. The unit test is changed to
reflect this behaviour.

Issue-ID: POLICY-1916
Change-Id: I02f63476d5f8f3ef2b2363afb3e23de04264e810
Signed-off-by: liamfallon <liam.fallon@est.tech>
core/core-infrastructure/src/test/java/org/onap/policy/apex/core/infrastructure/messaging/MessagingUtilsTest.java