Skip to content

Commit

Permalink
add some debug for failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glefloch committed Sep 16, 2020
1 parent c98fbaa commit d2b7623
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public BuildResult runGradleWrapper(File projectDir, String... args) throws IOEx
List<String> command = new LinkedList<>();
command.add(getGradleWrapperCommand());
command.add(GRADLE_NO_DAEMON);
command.add("--info");
command.add("--stacktrace");
command.addAll(Arrays.asList(args));

Expand All @@ -31,6 +32,7 @@ public BuildResult runGradleWrapper(File projectDir, String... args) throws IOEx
.command(command)
.redirectInput(ProcessBuilder.Redirect.INHERIT)
.redirectOutput(logOutput)
.inheritIO()
.start();

p.waitFor(5, TimeUnit.MINUTES);
Expand Down

0 comments on commit d2b7623

Please sign in to comment.