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

Some e2e tests are not independent of each other

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • ghx-label-14

    Description

      There are some tests that have side-effects during test execution.

      E.g. they set query options on the Impala client of the test suite:
      self.execute_query("SET RUNTIME_FILTER_MODE=GLOBAL")
      https://github.com/apache/impala/blob/8e350d0a8a7c95810c7704c8a5264a60daed783d/tests/query_test/test_runtime_filters.py#L138

      Tests shouldn't have such side-effects. Instead of setting a query option for the impala client of the whole test suite, they should create a private client for them. Or modify the test vector's 'exec_option' if possible.

      Attachments

        Activity

          People

            Unassigned Unassigned
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: