From 5a77070ed767158017ceb8ea3c319af60c86b830 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Mon, 29 Jan 2018 01:26:17 +0000 Subject: Fix the connect issue when checking deployment Socket.connect() requires only one param with type tuple. Change-Id: I63aa4633e80bde3ad5e1b5af9d67d8f46eb84571 Signed-off-by: Linda Wang --- functest/ci/check_deployment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest/ci') diff --git a/functest/ci/check_deployment.py b/functest/ci/check_deployment.py index 81607dff..8d19d850 100644 --- a/functest/ci/check_deployment.py +++ b/functest/ci/check_deployment.py @@ -44,7 +44,7 @@ def verify_connectivity(endpoint): port = url.port if not port: port = 443 if url.scheme == "https" else 80 - connection.connect(url.hostname, port) + connection.connect((url.hostname, port)) LOGGER.debug('%s:%s is reachable!', url.hostname, port) return True except socket.error: -- cgit 1.2.3-korg