You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/01/05 08:30:58 UTC
[jira] [Resolved] (SLING-6405) Make
testing.clients.interceptors.TestDescriptionInterceptor in line with
TestLogServlet from junit core
[ https://issues.apache.org/jira/browse/SLING-6405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved SLING-6405.
------------------------------------
Resolution: Fixed
Fixed with 1777434. Now it uses following header name
* X-Sling-TestClass - For test class
* X-Sling-TestName - For test name
Same is used in TestLogServlet which is also responsible for logging the test startup logs
> Make testing.clients.interceptors.TestDescriptionInterceptor in line with TestLogServlet from junit core
> --------------------------------------------------------------------------------------------------------
>
> Key: SLING-6405
> URL: https://issues.apache.org/jira/browse/SLING-6405
> Project: Sling
> Issue Type: Bug
> Components: Apache Sling Testing Clients
> Affects Versions: Apache Sling Testing Clients 1.0.0
> Reporter: Andrei Dulvac
> Assignee: Chetan Mehrotra
> Fix For: Apache Sling Testing Clients 1.0.2
>
>
> https://github.com/apache/sling/blob/trunk/testing/http/clients/src/main/java/org/apache/sling/testing/clients/interceptors/TestDescriptionInterceptor.java#L35-L36 uses wrong headers.
> They should be in line with https://github.com/apache/sling/blob/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/impl/servlet/TestLogServlet.java
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)