summaryrefslogtreecommitdiffstats
path: root/utils-test
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-08-10 08:56:49 -0400
committerJim Hahn <jrh3@att.com>2018-08-10 08:56:49 -0400
commit2eb72c8d17b751c023ad7d931b37ac5d72dfce53 (patch)
tree1532f73c9bc8f92877cc11279da7e4738af2d5e9 /utils-test
parent33eb63bbb70140630ecefae9d92c2c8f7d23fc63 (diff)
get time from correct timer object
Change-Id: Ie060e45d2cda368ffbb5908b41594d7795bae40b Issue-ID: POLICY-1045 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils-test')
-rw-r--r--utils-test/src/test/java/org/onap/policy/common/utils/time/TestTimeTest.java2
1 files changed, 1 insertions, 1 deletions
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;