Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3957

PackageTest is broken on 3.0.x branch

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.5
    • None
    • None

    Description

      error is like
      [org.ops4j.pax.exam.spi.reactors.ReactorManager] : suite finished
      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.272 sec <<< FAILURE! - in org.apache.karaf.itests.PackageTest
      duplicatePackageTest(org.apache.karaf.itests.PackageTest) Time elapsed: 0.023 sec <<< FAILURE!
      java.lang.AssertionError: Expecting number of duplicates for package org.fusesource.jansi:1.11.0 expected:<0> but was:<2>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:834)
      at org.junit.Assert.assertEquals(Assert.java:645)
      at org.apache.karaf.itests.PackageTest.duplicatePackageTest(PackageTest.java:99)

      Results :

      Failed tests:
      PackageTest.duplicatePackageTest:99 Expecting number of duplicates for package org.fusesource.jansi:1.11.0 expected:<0> but was:<2>

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: