Skip to content
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

Remove test for large allocation failure. #214

Merged
merged 1 commit into from
Mar 6, 2020
Merged

Conversation

clalancette
Copy link
Contributor

This has potential performance implications, and also causes
build warnings on 32-bit platforms since the size is too big
to fit into a size_t. It's also a pretty artificial test,
so just remove it.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

This should fix one of the build warnings in https://ci.ros2.org/view/nightly/job/nightly_linux-armhf_debug/409/warnings23Result/new/ . @Blast545 FYI.

This has potential performance implications, and also causes
build warnings on 32-bit platforms since the size is too big
to fit into a size_t.  It's also a pretty artificial test,
so just remove it.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette
Copy link
Contributor Author

CI just on armhf to prove that the warning is gone:

  • Linux armhf Build Status

@Blast545
Copy link
Contributor

Blast545 commented Mar 6, 2020

@clalancette Thanks for tagging me, I'll use a different approach to test the case covered by that portion of code.

@clalancette
Copy link
Contributor Author

Thanks for tagging me, I'll use a different approach to test the case covered by that portion of code.

Sounds good, thanks for understanding.

@clalancette clalancette merged commit b26fdf4 into master Mar 6, 2020
@clalancette clalancette deleted the remove-huge-alloc branch March 6, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants