Skip to content

Commit c392465

Browse files
authored
test(NODE-6614): add performance tests enabling logging (#4359)
1 parent 80c4d74 commit c392465

File tree

4 files changed

+183
-195
lines changed

4 files changed

+183
-195
lines changed

.evergreen/config.in.yml

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,93 +1158,6 @@ tasks:
11581158
- func: bootstrap kms servers
11591159
- func: "run serverless tests"
11601160

1161-
- name: run-spec-benchmark-tests-node-server
1162-
tags:
1163-
- run-spec-benchmark-tests
1164-
- performance
1165-
exec_timeout_secs: 3600
1166-
commands:
1167-
- command: expansions.update
1168-
type: setup
1169-
params:
1170-
updates:
1171-
- { key: NODE_LTS_VERSION, value: v22.11.0 }
1172-
- { key: VERSION, value: v6.0-perf }
1173-
- { key: TOPOLOGY, value: server }
1174-
- { key: AUTH, value: noauth }
1175-
- func: install dependencies
1176-
- func: bootstrap mongo-orchestration
1177-
- func: run spec driver benchmarks
1178-
- command: perf.send
1179-
params:
1180-
file: src/results.json
1181-
1182-
- name: run-spec-benchmark-tests-node-server-timeoutMS-120000
1183-
tags:
1184-
- run-spec-benchmark-tests
1185-
- performance
1186-
exec_timeout_secs: 3600
1187-
commands:
1188-
- command: expansions.update
1189-
type: setup
1190-
params:
1191-
updates:
1192-
- { key: NODE_LTS_VERSION, value: v22.11.0 }
1193-
- { key: VERSION, value: v6.0-perf }
1194-
- { key: TOPOLOGY, value: server }
1195-
- { key: AUTH, value: noauth }
1196-
- { key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS": 120000}' }
1197-
- func: install dependencies
1198-
- func: bootstrap mongo-orchestration
1199-
- func: run spec driver benchmarks
1200-
- command: perf.send
1201-
params:
1202-
file: src/results.json
1203-
1204-
- name: run-spec-benchmark-tests-node-server-timeoutMS-0
1205-
tags:
1206-
- run-spec-benchmark-tests
1207-
- performance
1208-
exec_timeout_secs: 3600
1209-
commands:
1210-
- command: expansions.update
1211-
type: setup
1212-
params:
1213-
updates:
1214-
- { key: NODE_LTS_VERSION, value: v22.11.0 }
1215-
- { key: VERSION, value: v6.0-perf }
1216-
- { key: TOPOLOGY, value: server }
1217-
- { key: AUTH, value: noauth }
1218-
- { key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS": 0}' }
1219-
- func: install dependencies
1220-
- func: bootstrap mongo-orchestration
1221-
- func: run spec driver benchmarks
1222-
- command: perf.send
1223-
params:
1224-
file: src/results.json
1225-
1226-
- name: run-spec-benchmark-tests-node-server-monitorCommands-true
1227-
tags:
1228-
- run-spec-benchmark-tests
1229-
- performance
1230-
exec_timeout_secs: 3600
1231-
commands:
1232-
- command: expansions.update
1233-
type: setup
1234-
params:
1235-
updates:
1236-
- { key: NODE_LTS_VERSION, value: v22.11.0 }
1237-
- { key: VERSION, value: v6.0-perf }
1238-
- { key: TOPOLOGY, value: server }
1239-
- { key: AUTH, value: noauth }
1240-
- { key: MONGODB_CLIENT_OPTIONS, value: '{"monitorCommands": true}' }
1241-
- func: install dependencies
1242-
- func: bootstrap mongo-orchestration
1243-
- func: run spec driver benchmarks
1244-
- command: perf.send
1245-
params:
1246-
file: src/results.json
1247-
12481161
- name: "test-gcpkms-task"
12491162
commands:
12501163
- command: expansions.update
@@ -1808,12 +1721,3 @@ post:
18081721

18091722
ignore:
18101723
- "*.md"
1811-
buildvariants:
1812-
- name: performance-tests
1813-
display_name: Performance Test
1814-
run_on: rhel90-dbx-perf-large
1815-
tasks:
1816-
- run-spec-benchmark-tests-node-server
1817-
- run-spec-benchmark-tests-node-server-timeoutMS-120000
1818-
- run-spec-benchmark-tests-node-server-timeoutMS-0
1819-
- run-spec-benchmark-tests-node-server-monitorCommands-true

.evergreen/config.yml

Lines changed: 114 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,89 +1118,6 @@ tasks:
11181118
- func: install dependencies
11191119
- func: bootstrap kms servers
11201120
- func: run serverless tests
1121-
- name: run-spec-benchmark-tests-node-server
1122-
tags:
1123-
- run-spec-benchmark-tests
1124-
- performance
1125-
exec_timeout_secs: 3600
1126-
commands:
1127-
- command: expansions.update
1128-
type: setup
1129-
params:
1130-
updates:
1131-
- {key: NODE_LTS_VERSION, value: v22.11.0}
1132-
- {key: VERSION, value: v6.0-perf}
1133-
- {key: TOPOLOGY, value: server}
1134-
- {key: AUTH, value: noauth}
1135-
- func: install dependencies
1136-
- func: bootstrap mongo-orchestration
1137-
- func: run spec driver benchmarks
1138-
- command: perf.send
1139-
params:
1140-
file: src/results.json
1141-
- name: run-spec-benchmark-tests-node-server-timeoutMS-120000
1142-
tags:
1143-
- run-spec-benchmark-tests
1144-
- performance
1145-
exec_timeout_secs: 3600
1146-
commands:
1147-
- command: expansions.update
1148-
type: setup
1149-
params:
1150-
updates:
1151-
- {key: NODE_LTS_VERSION, value: v22.11.0}
1152-
- {key: VERSION, value: v6.0-perf}
1153-
- {key: TOPOLOGY, value: server}
1154-
- {key: AUTH, value: noauth}
1155-
- {key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS": 120000}'}
1156-
- func: install dependencies
1157-
- func: bootstrap mongo-orchestration
1158-
- func: run spec driver benchmarks
1159-
- command: perf.send
1160-
params:
1161-
file: src/results.json
1162-
- name: run-spec-benchmark-tests-node-server-timeoutMS-0
1163-
tags:
1164-
- run-spec-benchmark-tests
1165-
- performance
1166-
exec_timeout_secs: 3600
1167-
commands:
1168-
- command: expansions.update
1169-
type: setup
1170-
params:
1171-
updates:
1172-
- {key: NODE_LTS_VERSION, value: v22.11.0}
1173-
- {key: VERSION, value: v6.0-perf}
1174-
- {key: TOPOLOGY, value: server}
1175-
- {key: AUTH, value: noauth}
1176-
- {key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS": 0}'}
1177-
- func: install dependencies
1178-
- func: bootstrap mongo-orchestration
1179-
- func: run spec driver benchmarks
1180-
- command: perf.send
1181-
params:
1182-
file: src/results.json
1183-
- name: run-spec-benchmark-tests-node-server-monitorCommands-true
1184-
tags:
1185-
- run-spec-benchmark-tests
1186-
- performance
1187-
exec_timeout_secs: 3600
1188-
commands:
1189-
- command: expansions.update
1190-
type: setup
1191-
params:
1192-
updates:
1193-
- {key: NODE_LTS_VERSION, value: v22.11.0}
1194-
- {key: VERSION, value: v6.0-perf}
1195-
- {key: TOPOLOGY, value: server}
1196-
- {key: AUTH, value: noauth}
1197-
- {key: MONGODB_CLIENT_OPTIONS, value: '{"monitorCommands": true}'}
1198-
- func: install dependencies
1199-
- func: bootstrap mongo-orchestration
1200-
- func: run spec driver benchmarks
1201-
- command: perf.send
1202-
params:
1203-
file: src/results.json
12041121
- name: test-gcpkms-task
12051122
commands:
12061123
- command: expansions.update
@@ -3560,6 +3477,111 @@ tasks:
35603477
- func: setup aws env
35613478
- func: remove aws-credential-providers
35623479
- func: run aws ECS auth test
3480+
- name: run-spec-benchmark-tests-node-server
3481+
tags:
3482+
- run-spec-benchmark-tests
3483+
- performance
3484+
exec_timeout_secs: 3600
3485+
commands:
3486+
- command: expansions.update
3487+
type: setup
3488+
params:
3489+
updates:
3490+
- {key: NODE_LTS_VERSION, value: v22.11.0}
3491+
- {key: VERSION, value: v6.0-perf}
3492+
- {key: TOPOLOGY, value: server}
3493+
- {key: AUTH, value: noauth}
3494+
- {key: MONGODB_CLIENT_OPTIONS, value: '{}'}
3495+
- func: install dependencies
3496+
- func: bootstrap mongo-orchestration
3497+
- func: run spec driver benchmarks
3498+
- command: perf.send
3499+
params:
3500+
file: src/results.json
3501+
- name: run-spec-benchmark-tests-node-server-timeoutMS-120000
3502+
tags:
3503+
- run-spec-benchmark-tests
3504+
- performance
3505+
exec_timeout_secs: 3600
3506+
commands:
3507+
- command: expansions.update
3508+
type: setup
3509+
params:
3510+
updates:
3511+
- {key: NODE_LTS_VERSION, value: v22.11.0}
3512+
- {key: VERSION, value: v6.0-perf}
3513+
- {key: TOPOLOGY, value: server}
3514+
- {key: AUTH, value: noauth}
3515+
- {key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS":120000}'}
3516+
- func: install dependencies
3517+
- func: bootstrap mongo-orchestration
3518+
- func: run spec driver benchmarks
3519+
- command: perf.send
3520+
params:
3521+
file: src/results.json
3522+
- name: run-spec-benchmark-tests-node-server-timeoutMS-0
3523+
tags:
3524+
- run-spec-benchmark-tests
3525+
- performance
3526+
exec_timeout_secs: 3600
3527+
commands:
3528+
- command: expansions.update
3529+
type: setup
3530+
params:
3531+
updates:
3532+
- {key: NODE_LTS_VERSION, value: v22.11.0}
3533+
- {key: VERSION, value: v6.0-perf}
3534+
- {key: TOPOLOGY, value: server}
3535+
- {key: AUTH, value: noauth}
3536+
- {key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS":0}'}
3537+
- func: install dependencies
3538+
- func: bootstrap mongo-orchestration
3539+
- func: run spec driver benchmarks
3540+
- command: perf.send
3541+
params:
3542+
file: src/results.json
3543+
- name: run-spec-benchmark-tests-node-server-monitorCommands-true
3544+
tags:
3545+
- run-spec-benchmark-tests
3546+
- performance
3547+
exec_timeout_secs: 3600
3548+
commands:
3549+
- command: expansions.update
3550+
type: setup
3551+
params:
3552+
updates:
3553+
- {key: NODE_LTS_VERSION, value: v22.11.0}
3554+
- {key: VERSION, value: v6.0-perf}
3555+
- {key: TOPOLOGY, value: server}
3556+
- {key: AUTH, value: noauth}
3557+
- {key: MONGODB_CLIENT_OPTIONS, value: '{"monitorCommands":true}'}
3558+
- func: install dependencies
3559+
- func: bootstrap mongo-orchestration
3560+
- func: run spec driver benchmarks
3561+
- command: perf.send
3562+
params:
3563+
file: src/results.json
3564+
- name: run-spec-benchmark-tests-node-server-logging
3565+
tags:
3566+
- run-spec-benchmark-tests
3567+
- performance
3568+
exec_timeout_secs: 3600
3569+
commands:
3570+
- command: expansions.update
3571+
type: setup
3572+
params:
3573+
updates:
3574+
- {key: NODE_LTS_VERSION, value: v22.11.0}
3575+
- {key: VERSION, value: v6.0-perf}
3576+
- {key: TOPOLOGY, value: server}
3577+
- {key: AUTH, value: noauth}
3578+
- {key: MONGODB_CLIENT_OPTIONS, value: '{"__enableMongoLogger":true,"__internalLoggerConfig":{"MONGODB_LOG_ALL":"trace","MONGODB_LOG_PATH":"stderr"}}'}
3579+
- func: install dependencies
3580+
- func: bootstrap mongo-orchestration
3581+
- func: run spec driver benchmarks
3582+
- command: perf.send
3583+
params:
3584+
file: src/results.json
35633585
- name: run-unit-tests-node-16
35643586
tags:
35653587
- unit-tests
@@ -4770,14 +4792,6 @@ post:
47704792
ignore:
47714793
- '*.md'
47724794
buildvariants:
4773-
- name: performance-tests
4774-
display_name: Performance Test
4775-
run_on: rhel90-dbx-perf-large
4776-
tasks:
4777-
- run-spec-benchmark-tests-node-server
4778-
- run-spec-benchmark-tests-node-server-timeoutMS-120000
4779-
- run-spec-benchmark-tests-node-server-timeoutMS-0
4780-
- run-spec-benchmark-tests-node-server-monitorCommands-true
47814795
- name: rhel80-large-gallium
47824796
display_name: rhel8 Node16
47834797
run_on: rhel80-large
@@ -5410,6 +5424,15 @@ buildvariants:
54105424
NODE_LTS_VERSION: 22
54115425
tasks:
54125426
- test-atlas-data-lake
5427+
- name: performance-tests
5428+
display_name: Performance Test
5429+
run_on: rhel90-dbx-perf-large
5430+
tasks:
5431+
- run-spec-benchmark-tests-node-server
5432+
- run-spec-benchmark-tests-node-server-timeoutMS-120000
5433+
- run-spec-benchmark-tests-node-server-timeoutMS-0
5434+
- run-spec-benchmark-tests-node-server-monitorCommands-true
5435+
- run-spec-benchmark-tests-node-server-logging
54135436
- name: rhel8-custom-dependency-tests
54145437
display_name: Custom Dependency Version Test
54155438
run_on: rhel80-large

0 commit comments

Comments
 (0)