You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/10/08 12:58:26 UTC
[jira] [Comment Edited] (MNG-5907)
org.apache.maven.repository.internal.RemoteSnapshotMetadataTest Fails
starting at midnight
[ https://issues.apache.org/jira/browse/MNG-5907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948480#comment-14948480 ]
Michael Osipov edited comment on MNG-5907 at 10/8/15 10:57 AM:
---------------------------------------------------------------
As far as I can see is that the timezone in {{gregorianDate}} is not set to {{Etc/UTC}}. Try with that and it should work, imho. Just noticed that I did not review the PR good enough.
was (Author: michael-o):
As far as I can see is that the timezone in {{gregorianDate}} is not set to {{Etc/UTC}}. Try with that and it should work, imho.
> org.apache.maven.repository.internal.RemoteSnapshotMetadataTest Fails starting at midnight
> ------------------------------------------------------------------------------------------
>
> Key: MNG-5907
> URL: https://issues.apache.org/jira/browse/MNG-5907
> Project: Maven
> Issue Type: Bug
> Components: core
> Affects Versions: 3.3.7
> Reporter: Karl Heinz Marbaise
>
> Currently this test fails (it seemed to be the reason having started the build at midnight CET):
> Running org.apache.maven.repository.internal.RemoteSnapshotMetadataTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE! - in org.apache.maven.repository.internal.RemoteSnapshotMetadataTest
> gregorianCalendarIsUsed(org.apache.maven.repository.internal.RemoteSnapshotMetadataTest) Time elapsed: 0.011 sec <<< FAILURE!
> java.lang.AssertionError: Expected 20151007 to be in [20151008]
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.apache.maven.repository.internal.RemoteSnapshotMetadataTest.gregorianCalendarIsUsed(RemoteSnapshotMetadataTest.java:79)
> Running org.apache.maven.repository.internal.RepositorySystemTest
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.832 sec - in org.apache.maven.repository.internal.RepositorySystemTest
> I have run maven build several times over the day and had no problems..I have to take a deeper look into this...
> I have run the build at about 11:00 o'clock am (CET) and the build is successful....with the exact same code state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)