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

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git

commit 3510aa9e7d56598b7bab395f01665054c78a47cd
Author: Robert Munteanu <[email protected]>
AuthorDate: Thu Jun 25 00:32:31 2020 +0200

    SLING-9526 - Allow launching feature model applications in external 
processes, non-blocking
    
    Increase timeout for starting the app, add a TODO for making timeouts 
configurable.
---
 src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java 
b/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
index 1c126c8..72b82c8 100644
--- a/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
+++ b/src/main/java/org/apache/sling/maven/feature/launcher/StartMojo.java
@@ -162,7 +162,8 @@ public class StartMojo
                 };
                 monitor.start();
                 getLog().info("Waiting for " + launch.getId() + " to start");
-                boolean started = latch.await(30, TimeUnit.SECONDS);
+                // TODO - configurable timeouts
+                boolean started = latch.await(3, TimeUnit.MINUTES);
                 if ( !started ) {
                     process.destroy();
                     boolean stopped = process.waitFor(30, TimeUnit.SECONDS);

Reply via email to