Skip to content
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

Allow notifier time to synch state with native layer #1177

Merged
merged 8 commits into from
Dec 7, 2020

Conversation

twometresteve
Copy link
Contributor

Goal

Attempts to resolve a persistent flaking test that requires JS layer state to be synched with the native layer.

Testing

The scenario in question was flaking for me 3/5 before the change. With it in it has passed 10/10 times.

@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Dec 4, 2020

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 40.70 kB 12.54 kB
After 40.70 kB 12.54 kB
± No change No change

Generated by 🚫 dangerJS against 434bb3b

Copy link
Contributor

@nickdowell nickdowell left a comment

Choose a reason for hiding this comment

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

Nice 🙏

Any idea why it was flaking with rn0.63 but not rn0.60?

@twometresteve twometresteve force-pushed the tms/code-bundle-id-flake branch from b7033bd to 4e95c4c Compare December 4, 2020 18:55
@twometresteve
Copy link
Contributor Author

Nice 🙏

Any idea why it was flaking with rn0.63 but not rn0.60?

Not specifically, but if it's a race condition that we're talking about I can believe that the plumbing and mechanics of rn0.63 simply take more time that 0.60.

Sadly though the story doesn't seem to be over on this PR, as it's flagged up a persistent failure in at least one other scenario, which wasn't included in my trials. Very surprising.

@twometresteve twometresteve merged commit e925af8 into next Dec 7, 2020
@twometresteve twometresteve deleted the tms/code-bundle-id-flake branch December 7, 2020 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants