Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5318 Create a sub-operator test framework
  3. DRILL-5322

Provide an OperatorFixture for sub-operator unit testing setup

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.11.0
    • 1.11.0
    • Tools, Build & Test
    • None

    Description

      We recently created various "fixture" classes to assist with system-level testing: LogFixture, ClusterFixture and ClientFixture. Each handles the tedious work of setting up the conditions to run certain kinds of tests.

      In the same way, we need an OperatorFixture to set up the low-level bits and pieces needed for operator-level, and sub-operator-level unit testing.

      The DrillConfig is used by both the system-level and operator-level fixtures. So, pull the config-setup tasks our of (cluster) FixtureBuilder (should rename) and into a new ConfigBuilder. Leave the existing methods in FixtureBuilder, but modify them to be wrappers around the new config builder.

      Attachments

        Activity

          People

            paul-rogers Paul Rogers
            paul-rogers Paul Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: