From 59811ebde8f5f3ec12236124474c51e5efe2ba67 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Wed, 29 Jan 2020 12:11:25 +1100 Subject: [PATCH] Explicitly invoke the Process.destroy method This will wait for the process to completly stop, the current code just waits for the web server to go down. --- .../main/java/io/quarkus/maven/it/verifier/RunningInvoker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java b/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java index a7082a219..c4e0b4542 100644 --- a/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java +++ b/test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/RunningInvoker.java @@ -88,6 +88,7 @@ public class RunningInvoker extends MavenProcessInvoker { if (result == null) { return; } + result.destroy(); List list = JProcesses.getProcessList().stream().filter(pi -> // Kill all process using the live reload and the live reload process. // This might be too much