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

Test InstanceServiceImplTest#testToSimulateRenameInstanceByExternalProcess fails when run isolated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: