Files
Riza Suminto 25d9caad00 IMPALA-14667: Remove reference to pytest.config
pytest.config global variable has been removed since pytest 5.0.
https://docs.pytest.org/en/stable/deprecations.html#pytest-config-global

This patch remove direct reference to pytest.config. Instead, it hook
pytest config object to ImpalaTestClusterProperties singleton at
pytest_configure() method at conftest.py.

Added pytest_config() classmethod in BaseTestSuite as a shortcut to
access ImpalaTestClusterProperties.get_instance().pytest_config().

Testing:
- Pass core tests.

Change-Id: Ieb09a9c8c1f474c355188b46a0ea913da6c2a38b
Reviewed-on: http://gerrit.cloudera.org:8080/23840
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2026-01-09 00:27:10 +00:00
..