drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Rogers (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5059) JDBC tests queries by dumping query to stdout
Date Mon, 21 Nov 2016 17:56:59 GMT
Paul Rogers created DRILL-5059:

             Summary: JDBC tests queries by dumping query to stdout
                 Key: DRILL-5059
                 URL: https://issues.apache.org/jira/browse/DRILL-5059
             Project: Apache Drill
          Issue Type: Bug
          Components: Tools, Build & Test
    Affects Versions: 1.8.0
            Reporter: Paul Rogers
            Priority: Minor

The JDBC tests in {{org.apache.drill.jdbc.test.TestJdbcDistQuery}} "test" queries by running
them and dumping the results to stdout. In a normal Maven build, the output clutters up the
test output and is ignored.

To be an actual test, the output should be captured, then compared against a "golden" file
to verify that the query produced the expected results. Else, the test can capture only catastrophic
failure, but not other problems.

This message was sent by Atlassian JIRA

View raw message