Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.8.0
Description
We currently do a couple of things that will soon be deprecated in upcoming versions of pytest:
- In run-tests.py, we pass args to pytest.main() as a string, rather than a list. The preferred way to pass args is to use a list.
- Even though we --ignore certain directories that might contain classes or functions that confuse pytest's auto-discovery, we also import those classes (like TestDimension, and TestMatrix) into other modules, and later versions of pytest will see these imported classes as possible test classes. The fix is just to rename the classes by prepending them with Impala.
Attachments
Issue Links
- is duplicated by
-
IMPALA-4824 Rename common infra classes that look like test classes to pytest
- Resolved