Bug 904490 - Extend marionette connection timeout. r=jgriffin
--- a/testing/marionette/client/marionette/client.py
+++ b/testing/marionette/client/marionette/client.py
@@ -52,17 +52,17 @@ class MarionetteClient(object):
response += self._recv_n_bytes(int(length) + 1 + len(length) - 10)
return json.loads(response)
else:
raise InvalidResponseException("Could not successfully complete " \
"transport of message to Gecko, "
"socket closed?",
status=ErrorCodes.INVALID_RESPONSE)
- def connect(self, timeout=180.0):
+ def connect(self, timeout=240.0):
""" Connect to the server and process the hello message we expect
to receive in response.
"""
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.sock.settimeout(timeout)
try:
self.sock.connect((self.addr, self.port))
except: