Skip to content

Firestore: Update conformance tests to match new repo / format. - #8689

Merged
tseaver merged 4 commits into
googleapis:masterfrom
tseaver:firestore-update-conformance-tests
Jul 17, 2019
Merged

Firestore: Update conformance tests to match new repo / format.#8689
tseaver merged 4 commits into
googleapis:masterfrom
tseaver:firestore-update-conformance-tests

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Apologies to reviewers for the size of the PR. The only "interesting" changes are in these two files:

  • Makefile_v1: used to generate the file we use to parse testcases.
  • test_cross_language.py: test driver which uses the canonical testcase data files.

The rest are either the protoc-generated file for the new TestFile message format, or the individual testcase datafiles themselves, in their new JSON formats (with the old .textproto / .binproto files removed).

I specifically avoided copying in the new testcase file, update-nested-transform-and-nested-value.json,
because it is the reproducer for the not-yet-fixed bug, #7215.

- Use new 'conformance_tests' repo.
- Handle updated file hierarchy, etc.
- Copy in JSON testcase files from 'conformance-tests' repo.
- Except 'update-nested-transform-and-nested-value.json', which is the
reproducer case for issue #7215.
@tseavertseaver added testing api: firestore Issues related to the Firestore API. labels Jul 16, 2019
@tseaver
tseaver requested a review from crwilcoxJuly 16, 2019 20:53
@tseaver
tseaver requested a review from frankyn as a code ownerJuly 16, 2019 20:53
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 16, 2019
@tseaver

Copy link
Copy Markdown
ContributorAuthor

Error Reporting and Text-to-Speech jobs both fail due to Kokoro-internal glitch: "Cannot check out non-mergeable pull request as if merged."

@tseaver

Copy link
Copy Markdown
ContributorAuthor

Testing only. I need this merged to start work on #7215 (the reproducer conformance test is new-style JSON only). Merging without review.

@tseaver
tseaver merged commit 563effc into googleapis:masterJul 17, 2019
@tseaver
tseaver deleted the firestore-update-conformance-tests branch July 17, 2019 20:13
parthea pushed a commit that referenced this pull request Nov 24, 2025
Update Makefile test proto builder:
- Use new 'conformance_tests' repo.
- Handle updated file hierarchy, etc.
Use new JSON format in 'test_cross_language.py'.
- Copy in JSON testcase files from 'conformance-tests' repo.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestoreIssues related to the Firestore API.cla: yesThis human has signed the Contributor License Agreement.testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@tseaver@googlebot