From dfe8fa8bc3e75c186589d21b619baa55454ef8a2 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 14 Aug 2019 17:31:50 -0400 Subject: Use pseudo time for junits Modified feature-active-standby-management and feature-lifecycle to be able to use TestTimeMulti, eliminating the need for sleep() calls in the junit tests and speeding the tests up significantly. Also modified feature-active-standby-management to use a memory DB for its junit tests. Change-Id: I6d7ae61bb73cbb19ff405b8d9fb660e92732edbb Issue-ID: POLICY-1968 Signed-off-by: Jim Hahn --- feature-lifecycle/pom.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'feature-lifecycle/pom.xml') diff --git a/feature-lifecycle/pom.xml b/feature-lifecycle/pom.xml index be5720dc..4884f48f 100644 --- a/feature-lifecycle/pom.xml +++ b/feature-lifecycle/pom.xml @@ -115,9 +115,15 @@ - org.awaitility - awaitility - 3.0.0 + org.powermock + powermock-api-mockito + test + + + + org.onap.policy.common + utils-test + ${policy.common.version} test -- cgit 1.2.3-korg