webfp / tor-browser-selenium

Tor Browser automation with Selenium.
MIT License
556 stars 99 forks source link

Kill tor processes before running a test. #61

Closed gunesacar closed 8 years ago

gunesacar commented 8 years ago

When the CI tests are rerun due to an error, port 9150 remains in use, e.g. https://travis-ci.org/webfp/tor-browser-selenium/jobs/152723582#L519

This should be due to remaining Tor processes from the previous test run.

This commit kills all Tor process before starting a new CI test run.