From 2eb72c8d17b751c023ad7d931b37ac5d72dfce53 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 10 Aug 2018 08:56:49 -0400 Subject: get time from correct timer object Change-Id: Ie060e45d2cda368ffbb5908b41594d7795bae40b Issue-ID: POLICY-1045 Signed-off-by: Jim Hahn --- .../src/test/java/org/onap/policy/common/utils/time/TestTimeTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils-test/src/test') diff --git a/utils-test/src/test/java/org/onap/policy/common/utils/time/TestTimeTest.java b/utils-test/src/test/java/org/onap/policy/common/utils/time/TestTimeTest.java index c1e15b38..12086657 100644 --- a/utils-test/src/test/java/org/onap/policy/common/utils/time/TestTimeTest.java +++ b/utils-test/src/test/java/org/onap/policy/common/utils/time/TestTimeTest.java @@ -37,7 +37,7 @@ public class TestTimeTest { assertEquals(tcur, tm.getDate().getTime()); long tsleep = 10000L; - long tcur2 = tcur; + long tcur2 = tm2.getMillis(); // sleep a bit and then check values tcur2 += tsleep; -- cgit 1.2.3-korg