All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] test: Add timeout to be compliant with GCF
  2012-05-22 12:49 [PATCH] test: Add timeout to be compliant with GCF Guillaume Zajac
@ 2012-05-22  1:54 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2012-05-22  1:54 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

Hi Guillaume,

On 05/22/2012 07:49 AM, Guillaume Zajac wrote:
> With some GCF test cases, default python script timeout
> is too short to pass the tests.
> ---
>   test/private-chat |    2 +-
>   test/swap-calls   |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>

Patch has been applied, thanks.

Regards,
-Denis


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] test: Add timeout to be compliant with GCF
@ 2012-05-22 12:49 Guillaume Zajac
  2012-05-22  1:54 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Zajac @ 2012-05-22 12:49 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

With some GCF test cases, default python script timeout
is too short to pass the tests.
---
 test/private-chat |    2 +-
 test/swap-calls   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/private-chat b/test/private-chat
index 4938a25..e7c8026 100755
--- a/test/private-chat
+++ b/test/private-chat
@@ -14,7 +14,7 @@ path = modems[0][0]
 manager = dbus.Interface(bus.get_object('org.ofono', path),
 						'org.ofono.VoiceCallManager')
 
-mpty = manager.PrivateChat(sys.argv[1])
+mpty = manager.PrivateChat(sys.argv[1], timeout=100)
 
 for path in mpty:
 	print path
diff --git a/test/swap-calls b/test/swap-calls
index 4996e0c..eeb257b 100755
--- a/test/swap-calls
+++ b/test/swap-calls
@@ -17,4 +17,4 @@ if (len(sys.argv) == 2):
 manager = dbus.Interface(bus.get_object('org.ofono', modem),
 						'org.ofono.VoiceCallManager')
 
-manager.SwapCalls()
+manager.SwapCalls(timeout=100)
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-22 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 12:49 [PATCH] test: Add timeout to be compliant with GCF Guillaume Zajac
2012-05-22  1:54 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.