@@ -26,11 +26,6 @@ timeout:
2626 args : [ls, -la]
2727
2828functions :
29- assume-test-secrets-ec2-role :
30- - command : ec2.assume_role
31- params :
32- role_arn : ${aws_test_secrets_role}
33-
3429 setup-system :
3530 # Executes clone and applies the submitted patch, if any
3631 - command : git.get_project
@@ -598,6 +593,22 @@ functions:
598593 KMS_FAILPOINT_SERVER_RUNNING : " true"
599594 args : [*task-runner, evg-test-retry-kms-requests]
600595
596+ run-client-side-encryption-test :
597+ - command : subprocess.exec
598+ params :
599+ binary : " bash"
600+ env :
601+ GO_BUILD_TAGS : cse
602+ include_expansions_in_env : [AUTH, SSL, MONGODB_URI, TOPOLOGY,
603+ MONGO_GO_DRIVER_COMPRESSOR]
604+ args : [*task-runner, setup-test]
605+ - command : subprocess.exec
606+ type : test
607+ retry_on_failure : true
608+ params :
609+ binary : " bash"
610+ args : [*task-runner, evg-test-client-side-encryption]
611+
601612 run-fuzz-tests :
602613 - command : subprocess.exec
603614 type : test
@@ -1572,6 +1583,21 @@ tasks:
15721583 AUTH : " noauth"
15731584 SSL : " nossl"
15741585
1586+ - name : " test-client-side-encryption"
1587+ tags : ["client-side-encryption-test"]
1588+ commands :
1589+ - func : bootstrap-mongo-orchestration
1590+ vars :
1591+ TOPOLOGY : " server"
1592+ AUTH : " noauth"
1593+ SSL : " nossl"
1594+ - func : start-cse-servers
1595+ - func : run-client-side-encryption-test
1596+ vars :
1597+ TOPOLOGY : " server"
1598+ AUTH : " noauth"
1599+ SSL : " nossl"
1600+
15751601 - name : " test-retry-kms-requests"
15761602 tags : ["kms-test"]
15771603 commands :
@@ -2253,6 +2279,12 @@ buildvariants:
22532279 tasks :
22542280 - name : " .kms-test"
22552281
2282+ - matrix_name : " client-side-encryption-test"
2283+ matrix_spec : { version: ["7.0"], os-ssl-40: ["rhel87-64"] }
2284+ display_name : " Client Side Encryption Tests ${os-ssl-40}"
2285+ tasks :
2286+ - name : " .client-side-encryption-test"
2287+
22562288 - matrix_name : " load-balancer-test"
22572289 tags : ["pullrequest"]
22582290 matrix_spec : { version: ["5.0", "6.0", "7.0", "8.0"], os-ssl-40: ["rhel87-64"] }
0 commit comments