Skip to content

Commit

Permalink
[java] Increase execution timeout of SM in Java from 10 to 120 seconds (
Browse files Browse the repository at this point in the history
#12631)

[java] Increase execution timeout from 10 to 120 seconds
  • Loading branch information
bonigarcia authored Aug 29, 2023
1 parent b7c297e commit ed632c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/manager/SeleniumManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private static Result runCommand(Path binary, List<String> arguments) {
CommandLine command =
new CommandLine(binary.toAbsolutePath().toString(), arguments.toArray(new String[0]));
command.executeAsync();
command.waitFor(10000); // A generous timeout
command.waitFor(120000); // TODO: make this configurable
if (command.isRunning()) {
LOG.warning("Selenium Manager did not exit");
}
Expand Down

0 comments on commit ed632c2

Please sign in to comment.