You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/11/06 11:56:00 UTC

[jira] [Created] (ARROW-7074) [C++] ASSERT_OK_AND_ASSIGN crashes when failing

Antoine Pitrou created ARROW-7074:
-------------------------------------

             Summary: [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


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)