sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <>
Subject [jira] [Created] (SLING-8553) Add OSGi integration test
Date Tue, 02 Jul 2019 08:56:00 GMT
Robert Munteanu created SLING-8553:

             Summary: Add OSGi integration test
                 Key: SLING-8553
             Project: Sling
          Issue Type: Task
          Components: Extensions
            Reporter: Robert Munteanu
             Fix For: Connection Timeout Agent 1.0.2

In [sling-org-apache-sling-connection-timeout-agent commit 01d35c7|]
an OSGi-specific fix was applied but there was no corresponding integration test.

The potential fix is to add a Pax-Exam tests which adds:

- a HTTP client bundle ( any of the supported ones should do )
- a client using the HTTP client bundle

And then assert that the requested class was transformed. It may be a good idea to do the
assertion using JMX.

The only issue to consider is that I did not find good information on running Pax-Exam with
JUnit 5. We currently use JUnit 5 for the connection timeout agent.

This message was sent by Atlassian JIRA

View raw message