From fd352918d54f5bbb07c93fe3f763ab5a89d74689 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Thu, 9 Oct 2014 11:01:46 -0700 Subject: [PATCH] IMPALA-1375: fix a typo where the tests didn't pass a host/port to get_hdfs_client --- tests/common/impala_test_suite.py | 2 +- tests/custom_cluster/test_insert_behaviour.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/common/impala_test_suite.py b/tests/common/impala_test_suite.py index 0553b99..8733bcd 100755 --- a/tests/common/impala_test_suite.py +++ b/tests/common/impala_test_suite.py @@ -93,7 +93,7 @@ class ImpalaTestSuite(BaseTestSuite): cls.hdfs_client = get_hdfs_client_from_conf(HDFS_CONF) else: host, port = pytest.config.option.namenode_http_address.split(":") - cls.hdfs_client = get_hdfs_client() + cls.hdfs_client = get_hdfs_client(host, port) @classmethod def teardown_class(cls): diff --git a/tests/custom_cluster/test_insert_behaviour.py b/tests/custom_cluster/test_insert_behaviour.py index df02be0..6aad059 100755 --- a/tests/custom_cluster/test_insert_behaviour.py +++ b/tests/custom_cluster/test_insert_behaviour.py @@ -31,7 +31,7 @@ class TestInsertBehaviourCustomCluster(CustomClusterTestSuite): cls.hdfs_client = get_hdfs_client_from_conf(hdfs_conf) else: host, port = pytest.config.option.namenode_http_address.split(":") - cls.hdfs_client = get_hdfs_client() + cls.hdfs_client = get_hdfs_client(host, port) @pytest.mark.execute_serially @CustomClusterTestSuite.with_args("--insert_inherit_permissions=true") -- 2.1.1