maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5907) org.apache.maven.repository.internal.RemoteSnapshotMetadataTest Fails starting at midnight
Date Sat, 10 Oct 2015 13:40:05 GMT

    [ https://issues.apache.org/jira/browse/MNG-5907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951837#comment-14951837
] 

Michael Osipov commented on MNG-5907:
-------------------------------------

Just reproduced it. Just like a set, a time zone issue. Fails here at 15:00 {{Europe/Berlin}}
if I set time zone to {{Pacific/Auckland}}.

> 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
>            Assignee: Michael Osipov
>
> 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)

Mime
View raw message