Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9477

Teleported tests cannot be executed on the latest Sling Starter App

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JUnit Core 1.0.28
    • JUnit Core 1.0.30
    • Testing
    • None

    Description

      The org.apache.sling.junit.impl.BundleTestsProvider class relies on the service.pid property for generating a unique PID with which the provider should be registered for registering tests to execute. However, the service.pid property can be missing from the service.

      A more stable property, which should still provide some uniqueness, would be component.name.

      Attachments

        Activity

          People

            radu Radu Cotescu
            radu Radu Cotescu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: