summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-08-10 14:13:35 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-10 14:13:35 +0000
commit637993a21e4826c36ac3dab256acf1510b824d82 (patch)
tree77f204a6c8cfc8064ac224a2c7382ad000fa0238
parent2f703b337354ca326517c4e56e59f9dcc40b1613 (diff)
parent2eb72c8d17b751c023ad7d931b37ac5d72dfce53 (diff)
Merge "get time from correct timer object"
-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;