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

feat(data): refactor single-client consecutive update unit tests; fake GraphQL service updates #11349

Merged
merged 7 commits into from
May 11, 2023

Conversation

david-mcafee
Copy link
Contributor

@david-mcafee david-mcafee commented May 6, 2023

Description of changes

feat(data): add assertions to test queried versions for DataStore's single-client consecutive update consistency unit tests; update fake GraphQL service to accept latency overrides for individual requests; create utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@david-mcafee david-mcafee force-pushed the ds-single-client-consistency-test-updates branch 2 times, most recently from ee70a6c to b03905b Compare May 6, 2023 00:43
@david-mcafee david-mcafee changed the title feat(data): add assertions to test _version for single-client tests; update fake GraphQL service to accept latency override for individual requests; create helper utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers feat(data): add assertions to test queried versions for single-client tests; update fake GraphQL service to accept latency overrides for individual requests; create helper utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers May 6, 2023
@david-mcafee david-mcafee force-pushed the ds-single-client-consistency-test-updates branch from b03905b to 63a806c Compare May 6, 2023 01:01
@david-mcafee david-mcafee marked this pull request as ready for review May 6, 2023 01:02
@david-mcafee david-mcafee requested a review from a team as a code owner May 6, 2023 01:02
…ingle-client consecutive update consistency unit tests; update fake GraphQL service to accept latency overrides for individual requests; create utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers
@david-mcafee david-mcafee force-pushed the ds-single-client-consistency-test-updates branch from 63a806c to 9f7e6d1 Compare May 6, 2023 01:04
@david-mcafee david-mcafee changed the title feat(data): add assertions to test queried versions for single-client tests; update fake GraphQL service to accept latency overrides for individual requests; create helper utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers feat(data): add assertions to test queried versions for DataStore's single-client consecutive update consistency unit tests; update fake GraphQL service to accept latency overrides for individual requests; create utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers May 6, 2023
@david-mcafee david-mcafee self-assigned this May 6, 2023
@david-mcafee david-mcafee added Testing DataStore Related to DataStore category bug Something isn't working labels May 6, 2023
@david-mcafee david-mcafee requested a review from svidgen May 10, 2023 00:51
@svidgen
Copy link
Member

svidgen commented May 10, 2023

I forgot to mention: This PR title is pretty big. It's not written in our contributing guide, but I think we should generally follow the 50-ish character title limit, so the titles aren't truncated in a git log, for example.

@david-mcafee david-mcafee changed the title feat(data): add assertions to test queried versions for DataStore's single-client consecutive update consistency unit tests; update fake GraphQL service to accept latency overrides for individual requests; create utils for performing consecutive updates and making common assertions; refactor existing tests to use new helpers feat(data): refactor single-client consecutive update unit tests; fake GraphQL service updates May 10, 2023
@david-mcafee
Copy link
Contributor Author

I forgot to mention: This PR title is pretty big. It's not written in our contributing guide, but I think we should generally follow the 50-ish character title limit, so the titles aren't truncated in a git log, for example.

Updated!

@david-mcafee david-mcafee merged commit 1b3a4bb into main May 11, 2023
@HuiSF HuiSF deleted the ds-single-client-consistency-test-updates branch September 27, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DataStore Related to DataStore category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants