Revert "Revert "[Java] fix test hang occasionally when running FailureTest (#13934)" (#13992)" (#14008)

This commit is contained in:
Kai Yang
2021-02-10 04:43:26 +08:00
committed by GitHub
parent f51c26bae6
commit e0b81796c5
6 changed files with 210 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));
}