wait until port is open in HttpClient junit tests 87/12187/1
authorJorge Hernandez <jh1730@att.com>
Wed, 13 Sep 2017 12:28:12 +0000 (07:28 -0500)
committerJorge Hernandez <jh1730@att.com>
Wed, 13 Sep 2017 12:32:33 +0000 (07:32 -0500)
commit009582f2e2a4bd3b09da3721a8b6587d5ac89723
tree0f5aa469844b418abb3399c86968e052eb0dfc16
parent7a85729d6c7f7c505144b396460dc24d695a0046
wait until port is open in HttpClient junit tests

As a note, HttpServer tests have retries at the http level.

Hopefully this will resolve some timing issues and intermittent junits
failures in LF jenkins environment.

Issue-ID: POLICY-109
Change-Id: I44628b60d4912be5fc4639e0048791f5655bbd01
Signed-off-by: Jorge Hernandez <jh1730@att.com>
policy-endpoints/src/test/java/org/onap/policy/drools/http/server/test/HttpClientTest.java
policy-utils/src/main/java/org/onap/policy/drools/utils/NetworkUtil.java