-
Bug
-
Resolution: Done
-
Medium
-
Casablanca Release
-
None
-
None
There are several test methods in the org.onap.appc.util.TimeTest class which are failing during local maven builds.
The failing tests are: testLocalTime(), testUtcFormat(), and testGetDateByLocaleAndTimeZone()
These tests were added as part of these submissions: https://gerrit.onap.org/r/#/c/56867/5 and https://gerrit.onap.org/r/#/c/57045/4
I have tested in two completely different systems to confirm it was not just my local. The exact errors are posted below:
testLocalTime(org.onap.appc.util.TimeTest) Time elapsed: 0.013 sec <<< FAILURE!
java.lang.AssertionError: expected:<1532083631> but was:<1503283631>
testUtcFormat(org.onap.appc.util.TimeTest) Time elapsed: 0.003 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<07/19/2018 0[0]:00:00> but was:<07/19/2018 0[7]:00:00>
testGetDateByLocaleAndTimeZone(org.onap.appc.util.TimeTest) Time elapsed: 0.006 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<19 juil. 2018 0[0]:00:00> but was:<19 juil. 2018 0[7]:00:00>