Run CSFLE mock server tests alongside all CSFLE tests in Evergreen

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: