mirror of git://git.sysmocom.de/ofono
test: Add timeout to be compliant with GCF
With some GCF test cases, default python script timeout is too short to pass the tests.
This commit is contained in:
parent
9b288f92f8
commit
7158c5790b
|
@ -14,7 +14,7 @@ path = modems[0][0]
|
||||||
manager = dbus.Interface(bus.get_object('org.ofono', path),
|
manager = dbus.Interface(bus.get_object('org.ofono', path),
|
||||||
'org.ofono.VoiceCallManager')
|
'org.ofono.VoiceCallManager')
|
||||||
|
|
||||||
mpty = manager.PrivateChat(sys.argv[1])
|
mpty = manager.PrivateChat(sys.argv[1], timeout=100)
|
||||||
|
|
||||||
for path in mpty:
|
for path in mpty:
|
||||||
print path
|
print path
|
||||||
|
|
|
@ -17,4 +17,4 @@ if (len(sys.argv) == 2):
|
||||||
manager = dbus.Interface(bus.get_object('org.ofono', modem),
|
manager = dbus.Interface(bus.get_object('org.ofono', modem),
|
||||||
'org.ofono.VoiceCallManager')
|
'org.ofono.VoiceCallManager')
|
||||||
|
|
||||||
manager.SwapCalls()
|
manager.SwapCalls(timeout=100)
|
||||||
|
|
Loading…
Reference in New Issue