From 817d8b061b21fa086f7c3005da17a03d114af615 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Tue, 6 Jun 2023 10:59:53 +0300 Subject: [PATCH] Remove unused method in LauncherUtil --- .../java/io/quarkus/test/common/LauncherUtil.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test-framework/common/src/main/java/io/quarkus/test/common/LauncherUtil.java b/test-framework/common/src/main/java/io/quarkus/test/common/LauncherUtil.java index 08bcfb9f7f1ec..03a8d6566355c 100644 --- a/test-framework/common/src/main/java/io/quarkus/test/common/LauncherUtil.java +++ b/test-framework/common/src/main/java/io/quarkus/test/common/LauncherUtil.java @@ -1,7 +1,6 @@ package io.quarkus.test.common; import java.io.BufferedReader; -import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; @@ -88,16 +87,6 @@ static Process launchProcess(List args, Map env) throws return process; } - /** - * Launches a process using the supplied arguments and makes sure the process's output is drained to standard out - */ - static Process launchProcessAndDrainIO(List args, File dir) throws IOException { - Process process = Runtime.getRuntime().exec(args.toArray(new String[0]), null, dir); - new Thread(new ProcessReader(process.getInputStream())).start(); - new Thread(new ProcessReader(process.getErrorStream())).start(); - return process; - } - /** * Waits (for a maximum of {@param waitTimeSeconds} seconds) until the launched process indicates the address it is * listening on.