Avoid leaving chromedriver processes cluttering the landscape after running the feature tests.

Per https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/3378, we were doing it wrong :-(
pull/3/head
Dave Page 2017-03-07 13:49:52 +00:00
parent 41e0a73ea6
commit 3658ca6c55
1 changed files with 1 additions and 1 deletions

View File

@ -33,5 +33,5 @@ class AppStarter:
self.driver.get("http://" + self.app_config.DEFAULT_SERVER + ":" + random_server_port)
def stop_app(self):
self.driver.close()
self.driver.quit()
os.killpg(os.getpgid(self.pgadmin_process.pid), signal.SIGTERM)