Set up test cluster properties for the test session
()
| 603 | |
| 604 | @pytest.fixture(autouse=True, scope='session') |
| 605 | def 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) |
nothing calls this directly
no test coverage detected