You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sudheesh Katkam (JIRA)" <ji...@apache.org> on 2017/04/21 23:40:04 UTC

[jira] [Resolved] (DRILL-5322) Provide an OperatorFixture for sub-operator unit testing setup

     [ 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
(v6.3.15#6346)