MCPcopy Create free account
hub / github.com/apache/impala / create_impala_shell_executable_dimension

Function create_impala_shell_executable_dimension

tests/shell/util.py:377–385  ·  view source on GitHub ↗
(dev_only=False)

Source from the content-addressed store, hash-verified

375
376
377def create_impala_shell_executable_dimension(dev_only=False):
378 _, include_pypi = get_dev_impala_shell_executable()
379 dimensions = []
380 assert os.getenv("IMPALA_SYSTEM_PYTHON3"), "Must set env var IMPALA_SYSTEM_PYTHON3!"
381 dimensions.append('dev3')
382 if include_pypi and not dev_only:
383 if os.getenv("IMPALA_SYSTEM_PYTHON3"):
384 dimensions.append('python3')
385 return ImpalaTestDimension('impala_shell', *dimensions)
386
387
388def get_impala_shell_executable(vector):

Callers 6

add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90
add_test_dimensionsMethod · 0.90

Calls 3

ImpalaTestDimensionClass · 0.90
appendMethod · 0.45

Tested by 6

add_test_dimensionsMethod · 0.72
add_test_dimensionsMethod · 0.72
add_test_dimensionsMethod · 0.72
add_test_dimensionsMethod · 0.72
add_test_dimensionsMethod · 0.72
add_test_dimensionsMethod · 0.72