-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update the storage mock so that copied objects can be read #5707
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
Update the storage mock so that copied objects can be read #5707
Conversation
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
| } | ||
|
|
||
| @Test | ||
| public void testCopyCanBeRead() { |
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.
This test reproduces the issue and fails without my fix. An object created by copy cannot be read without raising a NPE. This issue is fixed by this PR.
|
Hi, |
|
Thx @philipsdoctor for proposing this change. I definitely support it. |
|
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
|
I'm not sure what's up with the googlebot as the commit history looks correct. |
|
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
|
Looking into these test failures, apologies, I'll get it fixed up. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
Codecov Report
@@ Coverage Diff @@
## master #5707 +/- ##
============================================
+ Coverage 46.72% 47.2% +0.48%
- Complexity 24647 25189 +542
============================================
Files 2351 2389 +38
Lines 256149 260580 +4431
Branches 29327 29527 +200
============================================
+ Hits 119688 123018 +3330
- Misses 127539 128587 +1048
- Partials 8922 8975 +53
Continue to review full report at Codecov.
|
Fixes #5705 Allows objects copied with the storage mock to then be read.