You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/27 07:07:00 UTC

[jira] [Updated] (CALCITE-2878) Avoid use of new RuntimeException(e) in tests

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

ASF GitHub Bot updated CALCITE-2878:
------------------------------------
    Labels: pull-request-available  (was: )

> Avoid use of new RuntimeException(e) in tests
> ---------------------------------------------
>
>                 Key: CALCITE-2878
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2878
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>              Labels: pull-request-available
>
> {{new RuntimeException(e)}} adds very little info in tests, and it makes stacktraces harder to read.
> So it makes sense to just sneaky-throw in those cases, especially for test purposes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)