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

Function cluster_properties

tests/conftest.py:605–611  ·  view source on GitHub ↗

Set up test cluster properties for the test session

()

Source from the content-addressed store, hash-verified

603
604@pytest.fixture(autouse=True, scope='session')
605def cluster_properties():
606 """Set up test cluster properties for the test session"""
607 # Don't import at top level to avoid circular dependency between conftest and
608 # tests.common.environ, which uses command-line flags set up by conftest.
609 from tests.common.environ import ImpalaTestClusterProperties
610 cluster_properties = ImpalaTestClusterProperties.get_instance()
611 yield cluster_properties
612
613
614@pytest.hookimpl(trylast=True)

Callers

nothing calls this directly

Calls 1

get_instanceMethod · 0.80

Tested by

no test coverage detected