@@ -74,11 +74,12 @@ functions:
7474 bootstrap mongo-orchestration :
7575 - command : shell.exec
7676 params :
77- script : >
77+ script : |
7878 ${PREPARE_SHELL}
79-
80- MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} ORCHESTRATION_FILE=${ORCHESTRATION_FILE} bash
81- ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
79+ MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} \
80+ AUTH=${AUTH} SSL=${SSL} \
81+ ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
82+ bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
8283 - command : expansions.update
8384 params :
8485 file : mo-expansion.yml
@@ -100,20 +101,18 @@ functions:
100101 type : test
101102 params :
102103 working_dir : src
103- script : >
104+ script : |
104105 ${PREPARE_SHELL}
105106
106-
107107 if [ -n "${CLIENT_ENCRYPTION}" ]; then
108108 # Disable xtrace (just in case it was accidentally set).
109109 set +x
110110 . ./prepare_client_encryption.sh
111111 rm -f ./prepare_client_encryption.sh
112112 fi
113113
114-
115- AUTH=${AUTH} SSL=${SSL} UNIFIED=${UNIFIED} MONGODB_URI="${MONGODB_URI}" bash
116- ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
114+ AUTH=${AUTH} SSL=${SSL} UNIFIED=${UNIFIED} MONGODB_URI="${MONGODB_URI}" \
115+ bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh
117116 run checks :
118117 - command : shell.exec
119118 type : test
@@ -173,6 +172,23 @@ functions:
173172 rm -f ./prepare_atlas_connectivity.sh
174173
175174 NODE_LTS_NAME='${NODE_LTS_NAME}' bash ${PROJECT_DIRECTORY}/.evergreen/run-atlas-tests.sh
175+ run ldap tests :
176+ - command : shell.exec
177+ type : test
178+ params :
179+ working_dir : src
180+ script : |
181+ MONGODB_URI='${plain_auth_mongodb_uri}' NODE_LTS_NAME='${NODE_LTS_NAME}' \
182+ bash ${PROJECT_DIRECTORY}/.evergreen/run-ldap-tests.sh
183+ run tls tests :
184+ - command : shell.exec
185+ type : test
186+ params :
187+ working_dir : src
188+ script : |
189+ NODE_LTS_NAME=${NODE_LTS_NAME} DRIVERS_TOOLS="${DRIVERS_TOOLS}" \
190+ SSL_CA_FILE="${SSL_CA_FILE}" SSL_KEY_FILE="${SSL_KEY_FILE}" \
191+ MONGODB_URI="${MONGODB_URI}" bash ${PROJECT_DIRECTORY}/.evergreen/run-tls-tests.sh
176192 add aws auth variables to file :
177193 - command : shell.exec
178194 type : test
@@ -1049,6 +1065,17 @@ tasks:
10491065 commands :
10501066 - func : install dependencies
10511067 - func : run atlas tests
1068+ - name : test-tls-support
1069+ tags :
1070+ - tls-support
1071+ commands :
1072+ - func : install dependencies
1073+ - func : bootstrap mongo-orchestration
1074+ vars :
1075+ SSL : ssl
1076+ VERSION : latest
1077+ TOPOLOGY : server
1078+ - func : run tls tests
10521079 - name : test-latest-ocsp-valid-cert-server-staples
10531080 tags :
10541081 - ocsp
@@ -1343,6 +1370,7 @@ buildvariants:
13431370 - test-2.6-replica_set-unified
13441371 - test-2.6-sharded_cluster-unified
13451372 - test-atlas-connectivity
1373+ - test-tls-support
13461374 - test-latest-ocsp-valid-cert-server-staples
13471375 - test-latest-ocsp-invalid-cert-server-staples
13481376 - test-latest-ocsp-valid-cert-server-does-not-staple
@@ -1528,6 +1556,7 @@ buildvariants:
15281556 - test-3.2-replica_set-unified
15291557 - test-3.2-sharded_cluster-unified
15301558 - test-atlas-connectivity
1559+ - test-tls-support
15311560 - test-latest-ocsp-valid-cert-server-staples
15321561 - test-latest-ocsp-invalid-cert-server-staples
15331562 - test-latest-ocsp-valid-cert-server-does-not-staple
0 commit comments