Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9AF86200BCA for ; Mon, 21 Nov 2016 19:01:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9987D160B1C; Mon, 21 Nov 2016 18:01:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA7B7160B19 for ; Mon, 21 Nov 2016 19:01:05 +0100 (CET) Received: (qmail 77268 invoked by uid 500); 21 Nov 2016 18:01:04 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 77242 invoked by uid 99); 21 Nov 2016 18:01:04 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2016 18:01:04 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B11DD2C4C76 for ; Mon, 21 Nov 2016 18:01:04 +0000 (UTC) Date: Mon, 21 Nov 2016 18:01:04 +0000 (UTC) From: "Paul Rogers (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-5059) JDBC tests queries by dumping query to stdout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Nov 2016 18:01:06 -0000 [ https://issues.apache.org/jira/browse/DRILL-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-5059: ------------------------------- Description: The JDBC tests in {{org.apache.drill.jdbc.test.TestJdbcDistQuery}}, {{TestBugFixes}} (and perhaps others) "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. was: 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. > 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}}, {{TestBugFixes}} (and perhaps others) "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 (v6.3.4#6332)