Skip to content

Commit ad2d15c

Browse files
nbbeekendariakp
andauthored
refactor(NODE-5741): use async io helpers (#3930)
Co-authored-by: Daria Pardue <daria.pardue@mongodb.com>
1 parent 9968b52 commit ad2d15c

19 files changed

+553
-757
lines changed

.evergreen/config.in.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ functions:
200200
type: test
201201
params:
202202
working_dir: "src"
203+
env:
204+
MONGODB_NEW_CONNECTION: ${MONGODB_NEW_CONNECTION|false}
203205
timeout_secs: 300
204206
shell: bash
205207
script: |

.evergreen/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ functions:
170170
type: test
171171
params:
172172
working_dir: src
173+
env:
174+
MONGODB_NEW_CONNECTION: ${MONGODB_NEW_CONNECTION|false}
173175
timeout_secs: 300
174176
shell: bash
175177
script: |
@@ -4552,6 +4554,42 @@ buildvariants:
45524554
- test-3.6-server-noauth
45534555
- test-3.6-replica_set-noauth
45544556
- test-3.6-sharded_cluster-noauth
4557+
- name: rhel8-new-connection-tests
4558+
display_name: New Connection Tests
4559+
run_on: rhel80-large
4560+
expansions:
4561+
NODE_LTS_VERSION: 20
4562+
CLIENT_ENCRYPTION: true
4563+
MONGODB_NEW_CONNECTION: true
4564+
tasks:
4565+
- test-latest-server
4566+
- test-latest-replica_set
4567+
- test-latest-sharded_cluster
4568+
- test-rapid-server
4569+
- test-rapid-replica_set
4570+
- test-rapid-sharded_cluster
4571+
- test-7.0-server
4572+
- test-7.0-replica_set
4573+
- test-7.0-sharded_cluster
4574+
- test-6.0-server
4575+
- test-6.0-replica_set
4576+
- test-6.0-sharded_cluster
4577+
- test-5.0-server
4578+
- test-5.0-replica_set
4579+
- test-5.0-sharded_cluster
4580+
- test-4.4-server
4581+
- test-4.4-replica_set
4582+
- test-4.4-sharded_cluster
4583+
- test-4.2-server
4584+
- test-4.2-replica_set
4585+
- test-4.2-sharded_cluster
4586+
- test-4.0-server
4587+
- test-4.0-replica_set
4588+
- test-4.0-sharded_cluster
4589+
- test-3.6-server
4590+
- test-3.6-replica_set
4591+
- test-3.6-sharded_cluster
4592+
- test-latest-server-v1-api
45554593
- name: rhel8-test-lambda
45564594
display_name: AWS Lambda handler tests
45574595
run_on: rhel80-large

.evergreen/generate_evergreen_tasks.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,18 @@ BUILD_VARIANTS.push({
728728
tasks: AUTH_DISABLED_TASKS.map(({ name }) => name)
729729
});
730730

731+
BUILD_VARIANTS.push({
732+
name: 'rhel8-new-connection-tests',
733+
display_name: 'New Connection Tests',
734+
run_on: DEFAULT_OS,
735+
expansions: {
736+
NODE_LTS_VERSION: LATEST_LTS,
737+
CLIENT_ENCRYPTION: true,
738+
MONGODB_NEW_CONNECTION: true
739+
},
740+
tasks: BASE_TASKS.map(({ name }) => name)
741+
});
742+
731743
BUILD_VARIANTS.push({
732744
name: 'rhel8-test-lambda',
733745
display_name: 'AWS Lambda handler tests',

.evergreen/run-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ export MONGODB_URI=${MONGODB_URI}
6363
export LOAD_BALANCER=${LOAD_BALANCER}
6464
export TEST_CSFLE=${TEST_CSFLE}
6565
export COMPRESSOR=${COMPRESSOR}
66+
export MONGODB_NEW_CONNECTION=${MONGODB_NEW_CONNECTION}
6667
npm run "${TEST_NPM_SCRIPT}"

0 commit comments

Comments
 (0)