Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22304

Reset storageConfiguration at CoreFeature tearDown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 7.10-HF25
    • Component/s: Tests

      Description

      The CoreFeature is not "symmetric", it calls the StorageConfiguration constructor in its start method but only the first time, thus when running a test suite (like we do in Studio with MultiStudioRunner), the second test will fail because all the properties injected in the OSGiRuntimeService by the StorageConfiguration constructor are not present anymore (because the runtime context has been properly reseted).

      The solution: reset the storageConfiguration in a stop method in CoreFeature

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: