Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2240

Run CSFLE mock server tests alongside all CSFLE tests in Evergreen

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Background & Motivation

      The CSFLE tests relying on mock servers currently run in two separate Makefile targets:

      • evg-test-kms. This runs the CSFLE KMS TLS tests prose. It requires a mock server running on port 8000. The expected options of the mock server is determined by the KMS_TLS_TESTCASE environment variable.
      • evg-test-kmip. This runs all CSFLE tests related to KMIP. It requires four mock servers running on ports 8000, 8001, 8002, and 8003 described in the CSFLE test README.

      Scope

      • Run all CSFLE test mock servers as part of the run-tests task.
      • Remove the KMS_TLS_TESTCASE variable. Use port 8000 for the "Invalid KMS Certificate" case, and port 8001 for the "Invalid Hostname in KMS Certificate" case.
      • Remove the evg-test-kms and evg-test-kmip Makefile targets.
      • Remove the kms-tls-test and kms-kmip-test from config.yml.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: