You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/05/28 10:07:00 UTC

[jira] [Created] (SLING-9477) Teleported tests cannot be executed on the latest Sling Starter App

Radu Cotescu created SLING-9477:
-----------------------------------

             Summary: Teleported tests cannot be executed on the latest Sling Starter App
                 Key: SLING-9477
                 URL: https://issues.apache.org/jira/browse/SLING-9477
             Project: Sling
          Issue Type: Bug
          Components: Testing
    Affects Versions: JUnit Core 1.0.28
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: JUnit Core 1.0.30


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}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)