@@ -74,11 +74,12 @@ functions:
74
74
bootstrap mongo-orchestration :
75
75
- command : shell.exec
76
76
params :
77
- script : >
77
+ script : |
78
78
${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
82
83
- command : expansions.update
83
84
params :
84
85
file : mo-expansion.yml
@@ -100,20 +101,18 @@ functions:
100
101
type : test
101
102
params :
102
103
working_dir : src
103
- script : >
104
+ script : |
104
105
${PREPARE_SHELL}
105
106
106
-
107
107
if [ -n "${CLIENT_ENCRYPTION}" ]; then
108
108
# Disable xtrace (just in case it was accidentally set).
109
109
set +x
110
110
. ./prepare_client_encryption.sh
111
111
rm -f ./prepare_client_encryption.sh
112
112
fi
113
113
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
117
116
run checks :
118
117
- command : shell.exec
119
118
type : test
@@ -173,6 +172,23 @@ functions:
173
172
rm -f ./prepare_atlas_connectivity.sh
174
173
175
174
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
176
192
add aws auth variables to file :
177
193
- command : shell.exec
178
194
type : test
@@ -1049,6 +1065,17 @@ tasks:
1049
1065
commands :
1050
1066
- func : install dependencies
1051
1067
- 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
1052
1079
- name : test-latest-ocsp-valid-cert-server-staples
1053
1080
tags :
1054
1081
- ocsp
@@ -1343,6 +1370,7 @@ buildvariants:
1343
1370
- test-2.6-replica_set-unified
1344
1371
- test-2.6-sharded_cluster-unified
1345
1372
- test-atlas-connectivity
1373
+ - test-tls-support
1346
1374
- test-latest-ocsp-valid-cert-server-staples
1347
1375
- test-latest-ocsp-invalid-cert-server-staples
1348
1376
- test-latest-ocsp-valid-cert-server-does-not-staple
@@ -1528,6 +1556,7 @@ buildvariants:
1528
1556
- test-3.2-replica_set-unified
1529
1557
- test-3.2-sharded_cluster-unified
1530
1558
- test-atlas-connectivity
1559
+ - test-tls-support
1531
1560
- test-latest-ocsp-valid-cert-server-staples
1532
1561
- test-latest-ocsp-invalid-cert-server-staples
1533
1562
- test-latest-ocsp-valid-cert-server-does-not-staple
0 commit comments