You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by np...@apache.org on 2021/10/14 09:14:54 UTC

[sling-org-apache-sling-pipes] branch master updated: SLING-10849 add IT dep on plumberservlet

This is an automated email from the ASF dual-hosted git repository.

npeltier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-pipes.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e530e5  SLING-10849 add IT dep on plumberservlet
0e530e5 is described below

commit 0e530e54d4759ab417c7986719725a4aa2a74f6b
Author: Nicolas Peltier <np...@apache.org>
AuthorDate: Thu Oct 14 11:13:16 2021 +0200

    SLING-10849 add IT dep on plumberservlet
    
    to avoid moments where request is made when servlet is not ready yet
---
 src/test/java/org/apache/sling/pipes/it/PipesTestSupport.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/test/java/org/apache/sling/pipes/it/PipesTestSupport.java b/src/test/java/org/apache/sling/pipes/it/PipesTestSupport.java
index 38d0e62..a0be1cd 100644
--- a/src/test/java/org/apache/sling/pipes/it/PipesTestSupport.java
+++ b/src/test/java/org/apache/sling/pipes/it/PipesTestSupport.java
@@ -19,6 +19,7 @@
 package org.apache.sling.pipes.it;
 
 import javax.inject.Inject;
+import javax.servlet.Servlet;
 
 import org.apache.commons.codec.binary.Base64;
 import org.apache.sling.api.resource.LoginException;
@@ -60,6 +61,10 @@ public abstract class PipesTestSupport extends TestSupport {
     protected Plumber plumber;
 
     @Inject
+    @Filter("(sling.servlet.resourceTypes=slingPipes/plumber)")
+    private Servlet plumberServlet;
+
+    @Inject
     protected AuthenticationSupport authenticationSupport;
 
     @Inject