Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18560

qtests: QTestUtil refactor/split - QOutProcessor

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Tests
    • None

    Description

      QTestUtil needs some refactoring, as it has become a large, hard-to-maintain, hard-to-test class with a bunch of responsibilities:

      • running qtests
      • parsing/evaluating results
      • masking/processing results

      First, I would extract a processing class from it (e.g. QOutProcessor or something like that), which should be capable of being tested easily, and contains all the logic what's needed to make the final q.out results from the original q.out file. 
      This processing class shall remain untouched in case the testing infrastructure (QTestUtil) is replaced or changed in some ways.

      Attachments

        1. HIVE-18560.02.patch
          31 kB
          László Bodor
        2. HIVE-18560.01.patch
          29 kB
          László Bodor

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: