@@ -312,9 +312,33 @@ functions:
312
312
PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
313
313
TS_VERSION : ${TS_VERSION}
314
314
TS_CHECK : CHECK_TYPES
315
+ TYPES_VERSION : ${TYPES_VERSION}
315
316
binary : bash
316
317
args :
317
318
- ${PROJECT_DIRECTORY}/.evergreen/run-typescript.sh
319
+ check resource management :
320
+ - command : subprocess.exec
321
+ type : test
322
+ params :
323
+ working_dir : src
324
+ timeout_secs : 60
325
+ env :
326
+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
327
+ binary : bash
328
+ args :
329
+ - ${PROJECT_DIRECTORY}/.evergreen/run-resource-management.sh
330
+ check resource management smoke tests :
331
+ - command : subprocess.exec
332
+ type : test
333
+ params :
334
+ working_dir : src
335
+ timeout_secs : 60
336
+ env :
337
+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
338
+ MONGODB_URI : ${MONGODB_URI}
339
+ binary : bash
340
+ args :
341
+ - ${PROJECT_DIRECTORY}/.evergreen/run-resource-management-smoke-tests.sh
318
342
compile driver :
319
343
- command : subprocess.exec
320
344
type : test
@@ -325,6 +349,7 @@ functions:
325
349
PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
326
350
TS_VERSION : ${TS_VERSION}
327
351
TS_CHECK : COMPILE_DRIVER
352
+ TYPES_VERSION : ${TYPES_VERSION}
328
353
binary : bash
329
354
args :
330
355
- ${PROJECT_DIRECTORY}/.evergreen/run-typescript.sh
@@ -3459,7 +3484,45 @@ tasks:
3459
3484
- {key: NPM_VERSION, value: '9'}
3460
3485
- func : install dependencies
3461
3486
- func : run lint checks
3462
- - name : check-types-typescript-next
3487
+ - name : run-resource-management-no-async-dispose
3488
+ tags :
3489
+ - resource-management
3490
+ commands :
3491
+ - command : expansions.update
3492
+ type : setup
3493
+ params :
3494
+ updates :
3495
+ - {key: NODE_LTS_VERSION, value: v16.20.2}
3496
+ - {key: NPM_VERSION, value: '9'}
3497
+ - func : install dependencies
3498
+ - func : check resource management
3499
+ - name : run-resource-management-async-dispose
3500
+ tags :
3501
+ - resource-management
3502
+ commands :
3503
+ - command : expansions.update
3504
+ type : setup
3505
+ params :
3506
+ updates :
3507
+ - {key: NODE_LTS_VERSION, value: latest}
3508
+ - {key: NPM_VERSION, value: '9'}
3509
+ - func : install dependencies
3510
+ - func : check resource management
3511
+ - name : test-explicit-resource-management-smoke-tests
3512
+ tags :
3513
+ - resource-management
3514
+ commands :
3515
+ - command : expansions.update
3516
+ type : setup
3517
+ params :
3518
+ updates :
3519
+ - {key: VERSION, value: latest}
3520
+ - {key: TOPOLOGY, value: replica_set}
3521
+ - {key: NODE_LTS_VERSION, value: latest}
3522
+ - func : install dependencies
3523
+ - func : bootstrap mongo-orchestration
3524
+ - func : check resource management smoke tests
3525
+ - name : check-types-typescript-next-node-types-20.14.10
3463
3526
tags :
3464
3527
- check-types-typescript-next
3465
3528
- typescript-compilation
@@ -3471,11 +3534,12 @@ tasks:
3471
3534
- {key: NODE_LTS_VERSION, value: '16'}
3472
3535
- {key: NPM_VERSION, value: '9'}
3473
3536
- {key: TS_VERSION, value: next}
3537
+ - {key: TYPES_VERSION, value: 20.14.10}
3474
3538
- func : install dependencies
3475
3539
- func : check types
3476
- - name : compile-driver -typescript-current
3540
+ - name : check-types -typescript-current-node-types-20.14.10
3477
3541
tags :
3478
- - compile-driver -typescript-current
3542
+ - check-types -typescript-current
3479
3543
- typescript-compilation
3480
3544
commands :
3481
3545
- command : expansions.update
@@ -3485,9 +3549,25 @@ tasks:
3485
3549
- {key: NODE_LTS_VERSION, value: '16'}
3486
3550
- {key: NPM_VERSION, value: '9'}
3487
3551
- {key: TS_VERSION, value: current}
3552
+ - {key: TYPES_VERSION, value: 20.14.10}
3488
3553
- func : install dependencies
3489
- - func : compile driver
3490
- - name : check-types-typescript-current
3554
+ - func : check types
3555
+ - name : check-types-typescript-next-node-types-16.x
3556
+ tags :
3557
+ - check-types-typescript-next
3558
+ - typescript-compilation
3559
+ commands :
3560
+ - command : expansions.update
3561
+ type : setup
3562
+ params :
3563
+ updates :
3564
+ - {key: NODE_LTS_VERSION, value: '16'}
3565
+ - {key: NPM_VERSION, value: '9'}
3566
+ - {key: TS_VERSION, value: next}
3567
+ - {key: TYPES_VERSION, value: 16.x}
3568
+ - func : install dependencies
3569
+ - func : check types
3570
+ - name : check-types-typescript-current-node-types-16.x
3491
3571
tags :
3492
3572
- check-types-typescript-current
3493
3573
- typescript-compilation
@@ -3499,9 +3579,10 @@ tasks:
3499
3579
- {key: NODE_LTS_VERSION, value: '16'}
3500
3580
- {key: NPM_VERSION, value: '9'}
3501
3581
- {key: TS_VERSION, value: current}
3582
+ - {key: TYPES_VERSION, value: 16.x}
3502
3583
- func : install dependencies
3503
3584
- func : check types
3504
- - name : check-types-typescript-4.4
3585
+ - name : check-types-typescript-4.4-node-types-18.11.9
3505
3586
tags :
3506
3587
- check-types-typescript-4.4
3507
3588
- typescript-compilation
@@ -3513,8 +3594,39 @@ tasks:
3513
3594
- {key: NODE_LTS_VERSION, value: '16'}
3514
3595
- {key: NPM_VERSION, value: '9'}
3515
3596
- {key: TS_VERSION, value: '4.4'}
3597
+ - {key: TYPES_VERSION, value: 18.11.9}
3516
3598
- func : install dependencies
3517
3599
- func : check types
3600
+ - name : compile-driver-typescript-current-node-types-20.14.10
3601
+ tags :
3602
+ - compile-driver-typescript-current
3603
+ - typescript-compilation
3604
+ commands :
3605
+ - command : expansions.update
3606
+ type : setup
3607
+ params :
3608
+ updates :
3609
+ - {key: NODE_LTS_VERSION, value: '16'}
3610
+ - {key: NPM_VERSION, value: '9'}
3611
+ - {key: TS_VERSION, value: current}
3612
+ - {key: TYPES_VERSION, value: 20.14.10}
3613
+ - func : install dependencies
3614
+ - func : compile driver
3615
+ - name : compile-driver-typescript-current-node-types-16.x
3616
+ tags :
3617
+ - compile-driver-typescript-current
3618
+ - typescript-compilation
3619
+ commands :
3620
+ - command : expansions.update
3621
+ type : setup
3622
+ params :
3623
+ updates :
3624
+ - {key: NODE_LTS_VERSION, value: '16'}
3625
+ - {key: NPM_VERSION, value: '9'}
3626
+ - {key: TS_VERSION, value: current}
3627
+ - {key: TYPES_VERSION, value: 16.x}
3628
+ - func : install dependencies
3629
+ - func : compile driver
3518
3630
- name : download-and-merge-coverage
3519
3631
tags : []
3520
3632
commands :
@@ -5171,3 +5283,8 @@ buildvariants:
5171
5283
run_on : rhel80-large
5172
5284
tasks :
5173
5285
- test_atlas_task_group_search_indexes
5286
+ - name : resource management tests
5287
+ display_name : resource management tests
5288
+ run_on : rhel80-large
5289
+ tasks :
5290
+ - .resource-management
0 commit comments