summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;