Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5907

org.apache.maven.repository.internal.RemoteSnapshotMetadataTest fails to start at midnight

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.9
    • 3.3.9
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            michael-o Michael Osipov
            khmarbaise Karl Heinz Marbaise
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: