@@ -293,6 +293,54 @@ functions:
293293 export NODE_LTS_NAME='${NODE_LTS_NAME}'
294294
295295 bash ${PROJECT_DIRECTORY}/.evergreen/run-atlas-tests.sh
296+ run socks5 tests :
297+ - command : shell.exec
298+ type : test
299+ params :
300+ silent : true
301+ working_dir : src
302+ script : |
303+ ${PREPARE_SHELL}
304+ cat <<EOT > prepare_client_encryption.sh
305+ export CLIENT_ENCRYPTION=${CLIENT_ENCRYPTION}
306+ export CSFLE_KMS_PROVIDERS='${CSFLE_KMS_PROVIDERS}'
307+ export AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID}"
308+ export AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY}"
309+ export CSFLE_GIT_REF="${CSFLE_GIT_REF}"
310+ export CDRIVER_GIT_REF="${CDRIVER_GIT_REF}"
311+ EOT
312+ - command : shell.exec
313+ type : test
314+ params :
315+ working_dir : src
316+ script : >
317+ ${PREPARE_SHELL}
318+
319+
320+ export PYTHON_BINARY=$([ "Windows_NT" = "$OS" ] && echo "/cygdrive/c/python/python38/python.exe" || echo
321+ "/opt/mongodbtoolchain/v3/bin/python3")
322+
323+ export PROJECT_DIRECTORY="$(pwd)"
324+
325+ export DRIVERS_TOOLS="${DRIVERS_TOOLS}"
326+
327+ export NODE_LTS_NAME='${NODE_LTS_NAME}'
328+
329+ export MONGODB_URI="${MONGODB_URI}"
330+
331+ export SSL="${SSL}"
332+
333+
334+ # Disable xtrace (just in case it was accidentally set).
335+
336+ set +x
337+
338+ . ./prepare_client_encryption.sh
339+
340+ rm -f ./prepare_client_encryption.sh
341+
342+
343+ bash ${PROJECT_DIRECTORY}/.evergreen/run-socks5-tests.sh
296344 run kerberos tests :
297345 - command : shell.exec
298346 type : test
@@ -907,6 +955,27 @@ tasks:
907955 commands :
908956 - func : install dependencies
909957 - func : run ldap tests
958+ - name : test-socks5
959+ tags : []
960+ commands :
961+ - func : install dependencies
962+ - func : bootstrap mongo-orchestration
963+ vars :
964+ VERSION : latest
965+ TOPOLOGY : replica_set
966+ - func : run socks5 tests
967+ - name : test-socks5-tls
968+ tags : []
969+ commands :
970+ - func : install dependencies
971+ - func : bootstrap mongo-orchestration
972+ vars :
973+ SSL : ssl
974+ VERSION : latest
975+ TOPOLOGY : replica_set
976+ - func : run socks5 tests
977+ vars :
978+ SSL : ssl
910979 - name : test-ocsp-valid-cert-server-staples
911980 tags :
912981 - ocsp
@@ -1683,6 +1752,8 @@ buildvariants:
16831752 - test-atlas-data-lake
16841753 - test-auth-kerberos
16851754 - test-auth-ldap
1755+ - test-socks5
1756+ - test-socks5-tls
16861757 - test-ocsp-valid-cert-server-staples
16871758 - test-ocsp-invalid-cert-server-staples
16881759 - test-ocsp-valid-cert-server-does-not-staple
@@ -1753,6 +1824,8 @@ buildvariants:
17531824 - test-load-balancer
17541825 - test-auth-kerberos
17551826 - test-auth-ldap
1827+ - test-socks5
1828+ - test-socks5-tls
17561829 - test-ocsp-valid-cert-server-staples
17571830 - test-ocsp-invalid-cert-server-staples
17581831 - test-ocsp-valid-cert-server-does-not-staple
@@ -1819,6 +1892,8 @@ buildvariants:
18191892 - test-3.6-sharded_cluster
18201893 - test-latest-server-v1-api
18211894 - test-atlas-data-lake
1895+ - test-socks5
1896+ - test-socks5-tls
18221897 - test-ocsp-valid-cert-server-staples
18231898 - test-ocsp-invalid-cert-server-staples
18241899 - test-ocsp-valid-cert-server-does-not-staple
0 commit comments