forked from clj-commons/etaoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include driver process liveness in some exceptions
When an http request, for example, times out one might wonder if the WebDriver process is still running. We now use slingshot throw+ as we do for http status errors. This throw+ still includes the :driver :process but checks if it is alive and realizes its exit value in the thrown map if dead. Also: if an exception occurs when booting a driver, any launched WebDriver process is now cleaned up. Also: reworked some proc tests to always attempt cleanup even when exceptions occur. Closes clj-commons#469
- Loading branch information
Showing
3 changed files
with
211 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters