Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1641

Test fail in Archiva Scheduler :: Indexing 1.4-M3-SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4-M3
    • None
    • indexing
    • None
    • Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
      Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
      OS name: "linux", version: "3.4.4-3.fc17.x86_64", arch: "amd64", family: "unix"

    Description

      Test in class ArchivaIndexingTaskExecutorTest fail at tearDown method when the testPackagedIndex just finished. The error was occur when I launch this Maven command. It triggers when I run this command again:
      mvn clean install -pl :archiva-scheduler-indexing -am

      But if I launch this before:
      mvn clean

      It works perfectly.

      When I debugged the test I saw that the indexer is not stopped when the files in target/test-classes/.indexer are deleted. So every time a file is deleted a new one is created, and the test fails.

      I join the stack trace of the test error.

      Best regards,

      Antoine ROUAZE

      Attachments

        Activity

          People

            Unassigned Unassigned
            erouan Antoine ROUAZE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: