You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Brown (JIRA)" <ji...@apache.org> on 2017/09/25 20:24:00 UTC

[jira] [Resolved] (IMPALA-5979) Impala test driver exits nonzero after executing a PASS or XFAIL test case

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

Michael Brown resolved IMPALA-5979.
-----------------------------------
    Resolution: Duplicate

> Impala test driver exits nonzero after executing a PASS or XFAIL test case
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-5979
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5979
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 2.10.0
>            Reporter: Tim Wood
>              Labels: newbie
>
> I've determined that $IMPALA_HOME/tests/run-tests.py exits non-zero when a passing expected-fail test is executed.  This seems like wrong behavior from the framework, to put it mildly.  Instead, it should exit nonzero unless every test case behaves as expected.  So when bugs behind an xfail case are fixed, that case will xpass, and fail the suite run.  That's a reminder to fix the expectation for that case in the suite.
> Reproduce (after Gerrit review #8102 committed):
> % $IMPALA_HOME/tests/run-tests.py query_test/test_tpcds_queries.py -k test_tpcds_q90
> ... output ...
> % echo $?
> 1



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)