test: give connect a bit more time

Registration can be part of the connect process, which can take quite a while.
This commit is contained in:
Dan Williams
2009-11-29 21:49:46 -08:00
parent c8fdb592e3
commit 01db3f1c2f
+1 -1
View File
@@ -229,7 +229,7 @@ def gsm_connect(proxy, apn, user, password):
# Modem.Simple interface
simple = dbus.Interface(proxy, dbus_interface=MM_DBUS_INTERFACE_MODEM_SIMPLE)
try:
simple.Connect({'apn': apn, 'number':"*99#"}, timeout=60)
simple.Connect({'apn': apn, 'number':"*99#"}, timeout=120)
print "\nConnected!"
except Exception, e:
print "Error connecting: %s" % e