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

Test InstanceServiceImplTest#testToSimulateRenameInstanceByExternalProcess fails when run isolated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • karaf
    • None

    Description

      This test fails when run before all other tests because it depends on the "karaf.base" system-property set in other test-methods. This is a problem when building with jdk7 where the execution-order of test-methods is a bit random.

      to reproduce:

      mvn clean install -f instance/core/pom.xml -Dtest=InstanceServiceImplTest#testToSimulateRenameInstanceByExternalProcess
      

      Attachments

        1. instance-service-test-fix.patch
          6 kB
          Christoph Gritschenberger

        Activity

          People

            pieber Andreas Pieber
            christophg Christoph Gritschenberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: