AutoGeneral / IridiumApplicationTesting

A&G Web Application Testing Suite
https://www.gitbook.com/book/autogeneral/iridiumapplicationtesting-gettingstartedguide/details
MIT License
20 stars 13 forks source link

Chrome WebDriver does not shutdown correctly (Linux) #116

Open nonamef opened 6 years ago

nonamef commented 6 years ago

When I use the parameter "-DtestDestination=CHROMEHEADLESS", it runs the test correctly. The problem is that resources are locked by the driver (memory 100%). If you run this parameter multiple times on the same server, it will eventually crash the server and become unresponsive.

The current work around is to have a cron job that deletes the files contained in '/tmp' directory (Due to using default driver).

nesvand commented 6 years ago

@nonamef Has this been tested with the leaveWindowsOpen flag set to false? I've had processes stay open if that's not specified, so it's worth checking out first. Not sure if it's 100% a bug as someone could theoretically hook in to the webdriver while it's running to inspect... so they may want it to stay open