You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2019/11/08 15:55:01 UTC
[jira] [Resolved] (ARROW-7074) [C++] ASSERT_OK_AND_ASSIGN crashes
when failing
[ https://issues.apache.org/jira/browse/ARROW-7074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Kietzman resolved ARROW-7074.
---------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 5788
[https://github.com/apache/arrow/pull/5788]
> [C++] ASSERT_OK_AND_ASSIGN crashes when failing
> -----------------------------------------------
>
> Key: ARROW-7074
> URL: https://issues.apache.org/jira/browse/ARROW-7074
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Developer Tools
> Affects Versions: 0.15.1
> Reporter: Antoine Pitrou
> Assignee: Francois Saint-Jacques
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Instead of simply failing the test, the {{ASSERT_OK_AND_ASSIGN}} macro crashes when the operation failed, e.g.:
> {code}
> Value of: _st.ok()
> Actual: false
> Expected: true
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> F1106 12:53:32.882110 4698 result.cc:28] ValueOrDie called on an error: XXX
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)