-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
2
-
Not Needed
-
None
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Use Case
As a Mongoose developer,
I want tooling to set up clusters for FLE tests that is easy to maintain,
So that my CI is stable and easy to maintain.
User Experience
n/a
Dependencies
n/a
Risks/Unknowns
n/a
Acceptance Criteria
Implementation Requirements
- Update the existing FLE download scripts in Mongoose to:
- Use @mongodb-js/mongodb-downloader to download mongod/mongos and crypt_shared.
- Use mongodb-runner to launch a cluster for testing.
- The new tooling should have the same UI as the current tooling:
- A setup script, that is run with `npm run setup-test-encryption`, that downloads any necessary dependencies, launches the cluster and writes the cluster configuration (crypt shared path and cluster URI) to a file in the root directory.
- The FLE test suite parses the expansion file.
Testing Requirements
- Ensure CI continues to run and pass.
- Ensure tests can be run locally and pass.
Documentation Requirements
n/a
Follow Up Requirements
n/a