@@ -76,7 +76,10 @@ functions:
76
76
params :
77
77
script : |
78
78
${PREPARE_SHELL}
79
- MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} bash ${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
80
83
- command : expansions.update
81
84
params :
82
85
file : mo-expansion.yml
@@ -98,20 +101,18 @@ functions:
98
101
type : test
99
102
params :
100
103
working_dir : src
101
- script : >
104
+ script : |
102
105
${PREPARE_SHELL}
103
106
104
-
105
107
if [ -n "${CLIENT_ENCRYPTION}" ]; then
106
108
# Disable xtrace (just in case it was accidentally set).
107
109
set +x
108
110
. ./prepare_client_encryption.sh
109
111
rm -f ./prepare_client_encryption.sh
110
112
fi
111
113
112
-
113
- AUTH=${AUTH} SSL=${SSL} UNIFIED=${UNIFIED} MONGODB_URI="${MONGODB_URI}" bash
114
- ${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
115
116
run checks :
116
117
- command : shell.exec
117
118
type : test
@@ -179,6 +180,15 @@ functions:
179
180
script : |
180
181
MONGODB_URI='${plain_auth_mongodb_uri}' NODE_LTS_NAME='${NODE_LTS_NAME}' \
181
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
182
192
pre :
183
193
- func : fetch source
184
194
- func : prepare resources
@@ -776,6 +786,17 @@ tasks:
776
786
commands :
777
787
- func : install dependencies
778
788
- func : run ldap tests
789
+ - name : test-tls-support
790
+ tags :
791
+ - tls-support
792
+ commands :
793
+ - func : install dependencies
794
+ - func : bootstrap mongo-orchestration
795
+ vars :
796
+ SSL : ssl
797
+ VERSION : latest
798
+ TOPOLOGY : server
799
+ - func : run tls tests
779
800
- name : run-checks
780
801
tags :
781
802
- run-checks
@@ -841,6 +862,7 @@ buildvariants:
841
862
- test-2.6-sharded_cluster-unified
842
863
- test-atlas-connectivity
843
864
- test-auth-ldap
865
+ - test-tls-support
844
866
- name : macos-1014-dubnium
845
867
display_name : macOS 10.14 Node Dubnium
846
868
run_on : macos-1014
@@ -1008,6 +1030,7 @@ buildvariants:
1008
1030
- test-3.2-sharded_cluster-unified
1009
1031
- test-atlas-connectivity
1010
1032
- test-auth-ldap
1033
+ - test-tls-support
1011
1034
- name : ubuntu-18.04-dubnium
1012
1035
display_name : Ubuntu 18.04 Node Dubnium
1013
1036
run_on : ubuntu1804-test
0 commit comments