Fix intermittent unit test failures WebSocket 61/105161/4
authorliamfallon <liam.fallon@est.tech>
Mon, 6 Apr 2020 14:41:28 +0000 (15:41 +0100)
committerliamfallon <liam.fallon@est.tech>
Mon, 6 Apr 2020 17:44:17 +0000 (18:44 +0100)
commit69c227a9f1d91268fbd91471b012af38fba8b857
tree6d950f8c4f7b54f8348dc7960e982a8dd26feee3
parente1085f59c1ecd68de574391dc490973abd72a731
Fix intermittent unit test failures WebSocket

The Web Socket server is marked as started before the start process has
complted. This change fixes that issue.

Issue-ID: POLICY-1470
Change-Id: I5b5ef5832893d884a6551b0516df91cb71d6c622
Signed-off-by: liamfallon <liam.fallon@est.tech>
core/core-infrastructure/src/main/java/org/onap/policy/apex/core/infrastructure/messaging/impl/ws/server/MessageServerImpl.java
plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-restrequestor/src/test/java/org/onap/policy/apex/plugins/event/carrier/restrequestor/RestRequestorTest.java
services/services-engine/pom.xml
services/services-engine/src/test/java/org/onap/policy/apex/service/engine/engdep/EngDepMessagingServiceTest.java