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 147e973  SLING-9986 fix time based failing test
147e973 is described below

commit 147e9733a852e2ab7b782c94c1e32f81c1e81d52
Author: Nicolas Peltier <[email protected]>
AuthorDate: Thu Jan 14 20:53:07 2021 +0100

    SLING-9986 fix time based failing test
---
 src/test/java/org/apache/sling/pipes/ContainerPipeTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/sling/pipes/ContainerPipeTest.java 
b/src/test/java/org/apache/sling/pipes/ContainerPipeTest.java
index aad1a3c..f1286ac 100644
--- a/src/test/java/org/apache/sling/pipes/ContainerPipeTest.java
+++ b/src/test/java/org/apache/sling/pipes/ContainerPipeTest.java
@@ -119,7 +119,7 @@ public class ContainerPipeTest extends AbstractPipeTest {
     public void testSleep() throws Exception {
         long interval = 30L;
         String path = PATH_PIPE + "/" + NN_DUMMYTREE;
-        
context.resourceResolver().getResource(path).adaptTo(ModifiableValueMap.class).put(ContainerPipe.PN_SLEEP,
 interval);
+        
context.resourceResolver().getResource(path).adaptTo(ModifiableValueMap.class).put(ContainerPipe.PN_SLEEP,
 interval + 1);
         context.resourceResolver().commit();
         Iterator<Resource> outputs = getOutput(path);
         long start = System.currentTimeMillis();

Reply via email to