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

failing test ArchivaRepositoryScanningTaskExecutorPhase2Test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • None
    • scheduling
    • None

    Description

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase1Test
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.518 sec - in org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase1Test
      Running org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test
      Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 2.066 sec <<< FAILURE! - in org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test
      testExecutorScanOnlyNewArtifacts(org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test)  Time elapsed: 0.033 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<2> but was:<3>
              at org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test.testExecutorScanOnlyNewArtifacts(ArchivaRepositoryScanningTaskExecutorPhase2Test.java:102)
      
      testExecutorScanOnlyNewArtifactsChangeTimes(org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test)  Time elapsed: 0.028 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<2> but was:<3>
              at org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test.testExecutorScanOnlyNewArtifactsChangeTimes(ArchivaRepositoryScanningTaskExecutorPhase2Test.java:149)
      
      testExecutorScanOnlyNewArtifactsMidScan(org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test)  Time elapsed: 0.033 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<2> but was:<3>
              at org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutorPhase2Test.testExecutorScanOnlyNewArtifactsMidScan(ArchivaRepositoryScanningTaskExecutorPhase2Test.java:196)
      
      
      Results :
      
      Failed tests: 
        ArchivaRepositoryScanningTaskExecutorPhase2Test.testExecutorScanOnlyNewArtifacts:102 expected:<2> but was:<3>
        ArchivaRepositoryScanningTaskExecutorPhase2Test.testExecutorScanOnlyNewArtifactsChangeTimes:149 expected:<2> but was:<3>
        ArchivaRepositoryScanningTaskExecutorPhase2Test.testExecutorScanOnlyNewArtifactsMidScan:196 expected:<2> but was:<3>
      
      Tests run: 5, Failures: 3, Errors: 0, Skipped: 0
      

      while:

      $ find ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0/C-1.0.war.sha1
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0/C-1.0.war
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0/C-1.0.pom.sha1
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0/C-1.0.pom.md5
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0/C-1.0.war.md5
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/C/1.0/C-1.0.pom
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/1.0
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/1.0/B-1.0.pom.sha1
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/1.0/B-1.0.pom
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/1.0/B-1.0.pom.md5
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/2.0
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/2.0/B-2.0.pom.sha1
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/2.0/B-2.0.pom
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/B/2.0/B-2.0.pom.md5
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/maven-metadata.xml
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0/A-1.0.pom.sha1
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0/A-1.0.pom
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0/A-1.0.pom.md5
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0/A-1.0.war
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0/A-1.0.war.md5
      ./archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/repositories/default-repository/org/apache/maven/A/1.0/A-1.0.war.sha1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            alexz Alex Zbarcea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: