@@ -168,6 +168,25 @@ functions:
168168
169169 EOT
170170
171+ " run CSOT tests " :
172+ - command : shell.exec
173+ type : test
174+ params :
175+ shell : bash
176+ working_dir : " src"
177+ script : |
178+ ${PREPARE_SHELL}
179+ # Needed for generating temporary aws credentials.
180+ if [ -n "${FLE}" ];
181+ then
182+ export AWS_ACCESS_KEY_ID="${fle_aws_key}"
183+ export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
184+ export AWS_DEFAULT_REGION="${fle_aws_region}"
185+ fi
186+ export CSOT_SPEC_TESTS=1
187+ TEST_CMD="bundle exec rspec spec/spec_tests/client_side_operations_timeout_spec.rb" \
188+ .evergreen/run-tests.sh
189+
171190 " export FLE credentials " :
172191 - command : shell.exec
173192 type : test
@@ -748,6 +767,9 @@ tasks:
748767 - name : " test-kerberos"
749768 commands :
750769 - func : " run Kerberos unit tests"
770+ - name : " test-csot"
771+ commands :
772+ - func : " run CSOT tests"
751773 - name : " test-fle"
752774 commands :
753775 - func : " export FLE credentials"
@@ -863,6 +885,7 @@ tasks:
863885 AWS_SECRET_ACCESS_KEY : ${AWS_SECRET_ACCESS_KEY}
864886 AWS_SESSION_TOKEN : ${AWS_SESSION_TOKEN}
865887 LAMBDA_STACK_NAME : " dbx-ruby-lambda"
888+ CLUSTER_PREFIX : " dbx-ruby-lambda"
866889 RVM_RUBY : ruby-3.2
867890 MONGODB_URI : ${MONGODB_URI}
868891axes :
@@ -941,6 +964,10 @@ axes:
941964 display_name : Replica Set
942965 variables :
943966 TOPOLOGY : replica-set
967+ - id : " replica-set-single-node"
968+ display_name : Replica Set (Single Node)
969+ variables :
970+ TOPOLOGY : replica-set-single-node
944971 - id : " sharded-cluster"
945972 display_name : Sharded
946973 variables :
@@ -1373,6 +1400,16 @@ buildvariants:
13731400 tasks :
13741401 - name : " test-mlaunch"
13751402
1403+ - matrix_name : CSOT
1404+ matrix_spec :
1405+ ruby : " ruby-3.2"
1406+ mongodb-version : " 7.0"
1407+ topology : replica-set-single-node
1408+ os : rhel8
1409+ display_name : " CSOT - ${mongodb-version}"
1410+ tasks :
1411+ - name : test-csot
1412+
13761413 - matrix_name : " no-retry-reads"
13771414 matrix_spec :
13781415 retry-reads : no-retry-reads
@@ -1411,7 +1448,7 @@ buildvariants:
14111448 lint : on
14121449 ruby : " ruby-3.2"
14131450 mongodb-version : " 7.0"
1414- topology : ' * '
1451+ topology : ["standalone", "replica-set", "sharded-cluster"]
14151452 os : rhel8
14161453 display_name : " ${mongodb-version} ${topology} ${lint} ${ruby}"
14171454 tasks :
@@ -1840,11 +1877,9 @@ buildvariants:
18401877
18411878 - matrix_name : " serverless"
18421879 matrix_spec :
1843- # https://jira.mongodb.org/browse/RUBY-3217
1844- # ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "jruby-9.4", "jruby-9.3"]
1845- ruby : ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7"]
1880+ ruby : " ruby-3.2"
18461881 fle : path
1847- os : rhel8
1882+ os : ubuntu2204
18481883 display_name : " Atlas serverless ${ruby}"
18491884 tasks :
18501885 - name : serverless_task_group
0 commit comments