Use devtools' cluster setup tooling in Mongoose FLE tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • mongoose-csfle
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • 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

            Assignee:
            Bailey Pearson
            Reporter:
            Bailey Pearson
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: