-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Only fail a StorageTask once #5245
Conversation
LGTM, please wait for @schmidt-sebastian's review |
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.
LGTM, though I wonder if this should be a "completed" state and shared between FIRStorageTaskStatusSuccess and FIRStorageTaskStatusFailure.
@schmidt-sebastian I changed it to a |
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.
Storage is receiving so much love this week! Thanks.
FirebaseStorage/CHANGELOG.md
Outdated
@@ -1,3 +1,7 @@ | |||
# Unreleased | |||
- [fixed] Fix the rare case where a StorageTask would call its completion callbacks more than |
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.
s/the/a
This should fix an occasional flake I was seeing in testUnauthenticatedSimpleGetDataTooSmall where the expectation was getting fulfilled twice.