From 9afa523e5147c971a0d8d0405361f3c3e8faa6ce Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 21 Jun 2018 16:23:19 -0400 Subject: IntegrityAuditor: remove sleep from junit tests Modified the code to use a CurrentTime object for its "time" operations (e.g., sleep(), currentTimeInMillis()). Modified junit tests to replace the CurrentTime object with TestTime objects so they don't actually do any sleeping. Reformat "commit" message. Remove TODO from junit test. Init testTime in junit setUp(). Add AuditorTime and test classes. Change "latch" to "semaphore" in comments. Change time units in junit test from SECONDS to MILLISECONDS. Add sleep() method to auditor test class. Reorder field qualifiers. Change utils scope to "compile" in pom. Change-Id: I8aa8b642b315156c00422192e4aa8e47b4503c2f Issue-ID: POLICY-908 Signed-off-by: Jim Hahn --- integrity-audit/pom.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'integrity-audit/pom.xml') diff --git a/integrity-audit/pom.xml b/integrity-audit/pom.xml index 107b13a7..241a9a88 100644 --- a/integrity-audit/pom.xml +++ b/integrity-audit/pom.xml @@ -61,7 +61,6 @@ org.onap.policy.common utils ${project.version} - test org.onap.policy.common -- cgit 1.2.3-korg