[GODRIVER-2240] Run CSFLE mock server tests alongside all CSFLE tests in Evergreen Created: 22/Nov/21  Updated: 30/Mar/22

Status: Backlog
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.

Generated at Thu Feb 08 08:38:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.