@@ -293,6 +293,54 @@ functions:
293
293
export NODE_LTS_NAME='${NODE_LTS_NAME}'
294
294
295
295
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
296
344
run kerberos tests :
297
345
- command : shell.exec
298
346
type : test
@@ -907,6 +955,27 @@ tasks:
907
955
commands :
908
956
- func : install dependencies
909
957
- 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
910
979
- name : test-ocsp-valid-cert-server-staples
911
980
tags :
912
981
- ocsp
@@ -1683,6 +1752,8 @@ buildvariants:
1683
1752
- test-atlas-data-lake
1684
1753
- test-auth-kerberos
1685
1754
- test-auth-ldap
1755
+ - test-socks5
1756
+ - test-socks5-tls
1686
1757
- test-ocsp-valid-cert-server-staples
1687
1758
- test-ocsp-invalid-cert-server-staples
1688
1759
- test-ocsp-valid-cert-server-does-not-staple
@@ -1753,6 +1824,8 @@ buildvariants:
1753
1824
- test-load-balancer
1754
1825
- test-auth-kerberos
1755
1826
- test-auth-ldap
1827
+ - test-socks5
1828
+ - test-socks5-tls
1756
1829
- test-ocsp-valid-cert-server-staples
1757
1830
- test-ocsp-invalid-cert-server-staples
1758
1831
- test-ocsp-valid-cert-server-does-not-staple
@@ -1819,6 +1892,8 @@ buildvariants:
1819
1892
- test-3.6-sharded_cluster
1820
1893
- test-latest-server-v1-api
1821
1894
- test-atlas-data-lake
1895
+ - test-socks5
1896
+ - test-socks5-tls
1822
1897
- test-ocsp-valid-cert-server-staples
1823
1898
- test-ocsp-invalid-cert-server-staples
1824
1899
- test-ocsp-valid-cert-server-does-not-staple
0 commit comments