Skip to content

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Apr 1, 2020

This should fix an occasional flake I was seeing in testUnauthenticatedSimpleGetDataTooSmall where the expectation was getting fulfilled twice.

@ryanwilson
Copy link
Member

LGTM, please wait for @schmidt-sebastian's review

Copy link
Contributor

@schmidt-sebastian schmidt-sebastian left a 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 schmidt-sebastian removed their assignment Apr 1, 2020
@paulb777
Copy link
Member Author

paulb777 commented Apr 1, 2020

@schmidt-sebastian I changed it to a completed state test and also added it to the other locations in the file. PTAL

Copy link
Contributor

@schmidt-sebastian schmidt-sebastian left a 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.

@@ -1,3 +1,7 @@
# Unreleased
- [fixed] Fix the rare case where a StorageTask would call its completion callbacks more than
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/the/a

@paulb777 paulb777 changed the base branch from pb-swift-docs to master April 1, 2020 23:54
@paulb777 paulb777 merged commit d6f3f8d into master Apr 2, 2020
@paulb777 paulb777 deleted the pb-fail-once branch April 2, 2020 00:00
pranavrajgopal pushed a commit that referenced this pull request Apr 8, 2020
ryanwilson pushed a commit that referenced this pull request Apr 24, 2020