@@ -265,27 +265,7 @@ functions:
265265 - command : ec2.assume_role
266266 params :
267267 role_arn : ${aws_test_secrets_role}
268-
269- " setup atlas " :
270- - command : subprocess.exec
271- params :
272- binary : bash
273- include_expansions_in_env : ["task_id", "execution"]
274- env :
275- MONGODB_VERSION : " 7.0"
276- LAMBDA_STACK_NAME : dbx-python-lambda
277- args :
278- - ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
279- - command : expansions.update
280- params :
281- file : atlas-expansion.yml
282-
283- " teardown atlas " :
284- - command : subprocess.exec
285- params :
286- binary : bash
287- args :
288- - ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
268+ duration_seconds : 3600
289269
290270 " attach benchmark test results " :
291271 - command : attach.results
@@ -311,31 +291,6 @@ post:
311291 - func : " upload test results"
312292 - func : " cleanup"
313293
314- task_groups :
315- - name : test_aws_lambda_task_group
316- setup_group :
317- - func : fetch source
318- - func : setup system
319- - func : setup atlas
320- teardown_task :
321- - func : teardown atlas
322- setup_group_can_fail_task : true
323- setup_group_timeout_secs : 1800
324- tasks :
325- - test-aws-lambda-deployed
326-
327- - name : test_atlas_task_group_search_indexes
328- setup_group :
329- - func : fetch source
330- - func : setup system
331- - func : setup atlas
332- teardown_task :
333- - func : teardown atlas
334- setup_group_can_fail_task : true
335- setup_group_timeout_secs : 1800
336- tasks :
337- - test-search-index-helpers
338-
339294tasks :
340295 # Wildcard task. Do you need to find out what tools are available and where?
341296 # Throw it here, and execute this task on all buildvariants
@@ -347,36 +302,7 @@ tasks:
347302 params :
348303 args :
349304 - src/.evergreen/scripts/run-getdata.sh
350- # Standard test tasks {{{
351305
352- - name : " test-search-index-helpers"
353- commands :
354- - func : " run server"
355- vars :
356- VERSION : " 6.0"
357- TOPOLOGY : " replica_set"
358- - func : " run tests"
359- vars :
360- TEST_NAME : index_management
361- AUTH : " auth"
362-
363- - name : " test-aws-lambda-deployed"
364- commands :
365- - command : ec2.assume_role
366- params :
367- role_arn : ${LAMBDA_AWS_ROLE_ARN}
368- duration_seconds : 3600
369- - command : subprocess.exec
370- params :
371- working_dir : src
372- binary : bash
373- add_expansions_to_env : true
374- args :
375- - .evergreen/run-deployed-lambda-aws-tests.sh
376- env :
377- TEST_LAMBDA_DIRECTORY : ${PROJECT_DIRECTORY}/test/lambda
378-
379- # }}}
380306 - name : " coverage-report"
381307 tags : ["coverage"]
382308 depends_on :
@@ -446,12 +372,6 @@ buildvariants:
446372 batchtime : 10080 # 7 days
447373 - name : test-azurekms-fail
448374
449- - name : rhel8-test-lambda
450- display_name : FaaS Lambda
451- run_on : rhel87-small
452- tasks :
453- - name : test_aws_lambda_task_group
454-
455375- name : rhel8-import-time
456376 display_name : Import Time
457377 run_on : rhel87-small
0 commit comments