Merge pull request #38 from nlevitt/bump-browser-timeout

increase browser start and stop timeouts, since sometimes we strand brow...
This commit is contained in:
Noah Levitt 2015-01-26 21:22:18 -08:00
commit 0901cac2e0

View File

@ -231,7 +231,7 @@ class Chrome:
# returns websocket url to chrome window with about:blank loaded
def start(self):
timeout_sec = 60
timeout_sec = 600
new_env = os.environ.copy()
new_env["HOME"] = self.user_home_dir
chrome_args = [self.executable,
@ -271,7 +271,7 @@ class Chrome:
time.sleep(0.5)
def stop(self):
timeout_sec = 60
timeout_sec = 300
self.logger.info("terminating chrome pid {}".format(self.chrome_process.pid))
self.chrome_process.terminate()