summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-03-23 12:04:14 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 12:04:14 +0100
commit94ccd7a198cdf1de91fc2080382509654e4fe605 (patch)
tree58b99abbb88d76f1281b24281d1925f3e673cb4a /test
parent2db3ea3da83af8f5191c84f0ad704d8e4d97a4d8 (diff)
downloadconnman-94ccd7a198cdf1de91fc2080382509654e4fe605.tar.gz
connman-94ccd7a198cdf1de91fc2080382509654e4fe605.tar.bz2
connman-94ccd7a198cdf1de91fc2080382509654e4fe605.zip
service: Send D-Bus reply for Manager.ConnectService when service is ready
The D-Bus reply for Manager.ConnectService is currently immediatly returning the service path. It should still return it, but only after the service is ready or failed to connect. Fixes BMC#14798 Fixes BMC#14808
Diffstat (limited to 'test')
-rwxr-xr-xtest/connect-service3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/connect-service b/test/connect-service
index 2d88cb59..86216020 100755
--- a/test/connect-service
+++ b/test/connect-service
@@ -27,5 +27,6 @@ else:
path = manager.ConnectService(({ "Type": "wifi", "Mode": "managed",
"SSID": sys.argv[1],
"Security": security,
- "Passphrase": passphrase }));
+ "Passphrase": passphrase }),
+ timeout=60000);
print "Service path is %s" %(path)