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

test(cache-resilience): update snapshots #28703

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Dec 19, 2020

Currently not required cache resilience tests needed to be updated in #28656 but we slapped merge on green which doesn't require "not required" tests to pass (ops). This just updates snapshots for those tests to match change from that PR (always adding both childX and childrenX fields. Snapshots here introspect schema for various scenarios and compares what happens to schema when adding/removing plugins between runs.

It only have cases for single child scenario so it did had just childX before - with change from PR we now have to account for childrenX too.

Related Issues

#28656

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 19, 2020
@pieh pieh force-pushed the fix/cache-resilience-snapshots-update-after-child-fields-adjustment branch from 300f7f7 to 2471d64 Compare December 19, 2020 16:00
@pieh pieh added topic: GraphQL Related to Gatsby's GraphQL layer and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Dec 19, 2020
@pieh pieh marked this pull request as ready for review December 19, 2020 17:00
Copy link
Contributor

@vladar vladar left a comment

Choose a reason for hiding this comment

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

Sad consequence of test flakiness 😕

@vladar vladar merged commit 3727947 into master Dec 21, 2020
@vladar vladar deleted the fix/cache-resilience-snapshots-update-after-child-fields-adjustment branch December 21, 2020 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: GraphQL Related to Gatsby's GraphQL layer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants