[Java] fix test hang occasionally when running FailureTest (#13934)

This commit is contained in:
Kai Yang
2021-02-08 18:21:50 +08:00
committed by GitHub
parent 918ad84f08
commit bcf9457abb
6 changed files with 208 additions and 51 deletions
@@ -96,7 +96,7 @@ public class RunManager {
*
* @param command The command to start the process with.
*/
private static String runCommand(List<String> command) throws IOException, InterruptedException {
public static String runCommand(List<String> command) throws IOException, InterruptedException {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Starting process with command: {}", Joiner.on(" ").join(command));
}