drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudheesh Katkam (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-5322) Provide an OperatorFixture for sub-operator unit testing setup
Date Fri, 21 Apr 2017 23:40:04 GMT

     [ https://issues.apache.org/jira/browse/DRILL-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Sudheesh Katkam resolved DRILL-5322.
    Resolution: Fixed

Fixed as part of DRILL-5318.

> Provide an OperatorFixture for sub-operator unit testing setup
> --------------------------------------------------------------
>                 Key: DRILL-5322
>                 URL: https://issues.apache.org/jira/browse/DRILL-5322
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Tools, Build & Test
>    Affects Versions: 1.11.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>             Fix For: 1.11.0
> 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.

This message was sent by Atlassian JIRA

View raw message