Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Fix spurious offline storage test failure - #7228

Merged
1ec5 merged 1 commit into
release-ios-v3.4.0from
1ec5-offline-test-setup-fulfill-5999
Nov 30, 2016
Merged

1ec5 merged 1 commit into
release-ios-v3.4.0from
1ec5-offline-test-setup-fulfill-5999

Conversation

@1ec5

@1ec5 1ec5 commented Nov 29, 2016 •

Copy link
Copy Markdown
Contributor

This fixes the spurious offline storage unit test failure on iOS that was originally reported in #6385 and still reproduces consistently on the branch for #5999. See #5999 (comment) for details.

I introduced this bug as part of #6397. Even if the expectation is immediately fulfilled, we still have to wait for it to be fulfilled, because the expectation only gets unregistered after waiting. The zombie expectation was fulfilling a stricter expectation in a test method.

/cc @frederoni

Even if the expectation is immediately fulfilled, we still have to wait for it to be fulfilled, because the expectation only gets unregistered after waiting. The zombie expectation was fulfilling a stricter expectation in a test method.
@1ec5 1ec5 added this to the ios-v3.4.0 milestone Nov 29, 2016
@1ec5 1ec5 self-assigned this Nov 29, 2016
@mention-bot

Copy link
Copy Markdown

@1ec5, thanks for your PR! By analyzing this pull request, we identified @friedbunny to be potential reviewers.

This was referenced Nov 29, 2016
@1ec5
1ec5 merged commit 336d48d into release-ios-v3.4.0 Nov 30, 2016
@1ec5
1ec5 deleted the 1ec5-offline-test-setup-fulfill-5999 branch November 30, 2016 01:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants