-
Type:
New Feature
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
Currently there are copies of the JSON and YAML files for every spec test that the Go Driver runs. That means that PRs frequently include thousands of lines of spec test files, which make reviewing PRs difficult. Additionally, it's easy to lose track of what revision of each spec the Go Driver tests against.
Instead, we should use Git submodules for each spec test directory. We previously stopped doing that because Evergreen didn't support cloning Git submodules (see GODRIVER-106), but it now supports a recurse_submodules option for the git.get_project command.
Definition of done
- Update all spec test directories to use a Git submodule pointing to the https://github.com/mongodb/specifications repo at a particular revision.
Pitfalls
- We don't keep track of what revision we sync each spec test dir at, so updating the submodules may require a bunch of Git or code archaeology to figure it out.
- causes
-
GODRIVER-3529 'TerminateProcess: Access is denied' error when killing mongocryptd process on windows
-
- Closed
-
- is duplicated by
-
GODRIVER-3391 URI options spec tests specify empty options when the input results in a non-empty option set
-
- Closed
-
- is related to
-
GODRIVER-3521 Extend Legacy Unified Spec Runner to include client-side-encryption timeoutMS
-
- Backlog
-
-
GODRIVER-3527 Remove unused testdata directories
-
- In Code Review
-
-
GODRIVER-106 Remove git submodule
-
- Closed
-
-
GODRIVER-3526 Determine why certain non-git-submodule tests fail when using transactions
-
- Closed
-