Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-319

TestUnpackMojo#testUnpackOverWriteIfNewer randomly fails in CI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.3
    • None
    • unpack
    • None

    Description

      some times this test passes, some times it fails complaining that the timestamps are expected to be different:

      [INFO] Unpacking /home/hudson/hudson-slave/workspace/maven-plugins-ITs-m2/maven-dependency-plugin/target/unit-tests/unpack/localTestRepo/snapshot-2.0-SNAPSHOT.jar to /home/hudson/hudson-slave/workspace/maven-plugins-ITs-m2/maven-dependency-plugin/target/unit-tests/unpack/outputDirectory with includes "" and excludes ""
      unpackedFile 2011-08-06T19:35:28 /target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt
      artifact     2011-08-06T19:35:38 /target/unit-tests/unpack/localTestRepo/snapshot-2.0-SNAPSHOT.jar
      marker       2011-08-06T19:35:38 /target/unit-tests/unpack/markers/testGroupId-snapshot-jar-2.0-SNAPSHOT.marker
      marker.lastModified() = 1312659328000
      unpackedFile.lastModified() = 1312659328000
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: