Skip to content

Commit

Permalink
don't comment out the driver service wait!!!!!!!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Oct 8, 2015
1 parent bf5ea32 commit ffb124c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ public void start() throws IOException {
process.copyOutputTo(System.err);
process.executeAsync();

//URL status = new URL(url.toString() + "/status");
//new UrlChecker().waitUntilAvailable(20, SECONDS, status);
//} catch (UrlChecker.TimeoutException e) {
// process.checkForError();
// throw new WebDriverException("Timed out waiting for driver server to start.", e);
URL status = new URL(url.toString() + "/status");
new UrlChecker().waitUntilAvailable(20, SECONDS, status);
} catch (UrlChecker.TimeoutException e) {
process.checkForError();
throw new WebDriverException("Timed out waiting for driver server to start.", e);
} finally {
lock.unlock();
}
Expand Down

0 comments on commit ffb124c

Please sign in to comment.