Remove sleep() from junit tests 68/90668/2
authorJim Hahn <jrh3@att.com>
Fri, 28 Jun 2019 13:53:35 +0000 (09:53 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 28 Jun 2019 14:02:44 +0000 (10:02 -0400)
commite6bf601e69e40768efbc934c88b17fd9d4062e49
treeece93685ad2fd579403d9c58c5f766269738bf6b
parentd0932a1a2339a02dab04eedefa0480535e68d31c
Remove sleep() from junit tests

Replaced sleep() calls with awaitability.await().  Also shortened
the timeout, for the test, from 10s to 2s.

Change-Id: I5d9cb84b405782f174b6230294e5d6a47938c4b8
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
controlloop/common/feature-controlloop-trans/pom.xml
controlloop/common/feature-controlloop-trans/src/test/java/org/onap/policy/drools/apps/controlloop/feature/trans/ControlLoopMetricsFeatureTest.java
controlloop/common/feature-controlloop-trans/src/test/resources/feature-controlloop-trans.properties