-
Notifications
You must be signed in to change notification settings - Fork 118
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
test for issue 76 #78
base: develop
Are you sure you want to change the base?
Conversation
So what happens when the call to |
Also, do you have to handle the case when the disk fills up from the write? |
I would say not. when I try the test with a full disk I get an exception and the test fails. as with not enough memory I think it's good that a test that can't usefully verify a fix on some machine fails. I tried eating those exceptions and at least BOOST_WARN_MESSAGE()ing about it, but I don't actually see those warnings show up anywhere then, so then the test just silently passes when not enough memory or disk. that seems bad.
|
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.
Okay, we identified something with a test. Now we need to fix it. :)
Codecov Report
@@ Coverage Diff @@
## develop #78 +/- ##
===========================================
- Coverage 69.04% 64.73% -4.32%
===========================================
Files 80 81 +1
Lines 3437 3547 +110
Branches 1025 950 -75
===========================================
- Hits 2373 2296 -77
- Misses 451 461 +10
- Partials 613 790 +177
Continue to review full report at Codecov.
|
on a theoretical 64bit Windows machine where allocating 4+GB fails the test would presumably exception out with a bad_alloc. that would make sense as such a theoretical Windows machine would be unable to properly run this test or verify that a fix fixed it.