fix: java main process will be suspended when browsers installation timed out (#180)
This commit is contained in:
@@ -45,6 +45,7 @@ public class DriverJar extends Driver {
|
||||
Process p = pb.start();
|
||||
boolean result = p.waitFor(10, TimeUnit.MINUTES);
|
||||
if (!result) {
|
||||
p.destroy();
|
||||
throw new RuntimeException("Timed out waiting for browsers to install");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user