You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by js...@apache.org on 2017/06/27 06:39:01 UTC

[20/50] [abbrv] incubator-livy git commit: LIVY-320. Livy python-api client test failing. (#298)

LIVY-320. Livy python-api client test failing. (#298)

Specified fields for client test. Travis CI looks to be defaulted to python 2.7, so it never came across this issue.

Project: http://git-wip-us.apache.org/repos/asf/incubator-livy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-livy/commit/6bfe1774
Tree: http://git-wip-us.apache.org/repos/asf/incubator-livy/tree/6bfe1774
Diff: http://git-wip-us.apache.org/repos/asf/incubator-livy/diff/6bfe1774

Branch: refs/heads/master
Commit: 6bfe17749c25da2145aac9eedbc6bedb1a4d33eb
Parents: a72bbff
Author: Alan Chin <ak...@us.ibm.com>
Authored: Tue Feb 21 17:30:12 2017 -0800
Committer: Alex Man <tc...@gmail.com>
Committed: Tue Feb 21 17:30:12 2017 -0800

----------------------------------------------------------------------
 python-api/src/test/python/livy-tests/client_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-livy/blob/6bfe1774/python-api/src/test/python/livy-tests/client_test.py
----------------------------------------------------------------------
diff --git a/python-api/src/test/python/livy-tests/client_test.py b/python-api/src/test/python/livy-tests/client_test.py
index bb1dbc5..bab958e 100644
--- a/python-api/src/test/python/livy-tests/client_test.py
+++ b/python-api/src/test/python/livy-tests/client_test.py
@@ -25,7 +25,7 @@ from livy.client import HttpClient
 
 session_id = 0
 job_id = 1
-base_uri = 'http://{}:{}'.format(socket.gethostname(), 8998)
+base_uri = 'http://{0}:{1}'.format(socket.gethostname(), 8998)
 client_test = None
 invoked_queued_callback = False
 invoked_running_callback = False