-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-15030: [C++] CSV writer test failures #11908
Conversation
This doesn't fix the issue. Actually, you should be able to reproduce it by enabling
|
I can reproduce it now indeed, thanks. If I understand correctly, erroneous status messages created through the In this case, it means you cannot check error messages that are contained within such a status, so you can only check whether the StatusCode matches, but not whether the message is as expected. I will update the PR to fix this. Since the context information only exists for debugging purposes, would it be an idea to somehow exclude it from status equality predicates, such that tests with/without the flag do not differ in outcome? |
@johanpel You can actually test the message using something like: EXPECT_RAISES_WITH_MESSAGE_THAT(Invalid, ::testing::HasSubstr("some substring"), ...); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, thanks for the update @johanpel
Benchmark runs are scheduled for baseline = fa5bbb7 and contender = b15a2f3. b15a2f3 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
No description provided.