Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4735

py.test needs to be upgraded in the Impala python environment

    Details

      Description

      pytest provides a way to specify an individual test function to be run by using the :: operator to resolve scope.

      $ impala-py.test path/to/test_module.py::TestClass::test_function
      

      This works fine for non-parameterized tests (or, in Impala's nomenclature, non-vectorized tests), but breaks when the test is marked with pytest's parametrize [sic] decorator, or when using the Impala-defined vector fixture. In those cases, the test function is not found.

      The root cause is this issue: https://github.com/pytest-dev/pytest/issues/649

      It was fixed just prior to the release of pytest 2.9.1, but Impala is still shipping with 2.7.2.

      We should upgrade our version of pytest.

        Attachments

          Activity

            People

            • Assignee:
              dknupp David Knupp
              Reporter:
              dknupp David Knupp
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: