mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
Add a few client tests for HS2
These HiveServer2 client tests (in tests/hs2) are intended to check the HS2 API implementation in the following ways: * API tests: Can all the supported API endpoints be called successfully? * Query lifecycle tests: does calling the API in an unusual sequence result in reasonable behaviour? * Malformed query tests: does sending an incorrectly constructed request correctly result in an error? This patch adds a few simple tests as a starting point for a larger test suite. Change-Id: I4b926d1639c640317ea3478bdeb0aa4b5a9286ee Reviewed-on: http://gerrit.ent.cloudera.com:8080/320 Reviewed-by: Lenni Kuff <lskuff@cloudera.com> Tested-by: jenkins
This commit is contained in:
@@ -22,8 +22,8 @@ import pytest
|
||||
import sys
|
||||
|
||||
# We whitelist valid test directories. If a new test directory is added, update this.
|
||||
VALID_TEST_DIRS = ['failure', 'query_test', 'stress',
|
||||
'unittests', 'aux_query_tests', 'shell']
|
||||
VALID_TEST_DIRS = ['failure', 'query_test', 'stress', 'unittests', 'aux_query_tests',
|
||||
'shell', 'hs2']
|
||||
|
||||
TEST_DIR = os.path.join(os.environ['IMPALA_HOME'], 'tests')
|
||||
TEST_RESULT_DIR = os.path.join(TEST_DIR, 'results')
|
||||
|
||||
Reference in New Issue
Block a user