airportyh/browseroverflow — pull request #1 by karlvr (2013-08-10 04:44:05+00:00)
Title: Tunnel timeout support and kill process on failure

Establishing the tunnel takes longer than the default timeout for me. I have added the option to specify a timeout to override the default in the options passed to Tunnel.run, or in the config file under two properties; tunnelTimeout and timeout, in case there may be timeouts for each component in the future.

The addition of self.process.kill() ensures that the java process is terminated if it outputs a failure or we timeout. Particularly in the case of a timeout I believe the java process was left running.

Separately I'm sending a pull request to the browserstack-cli to add support for the new timeout option in Tunnel.run