Skip to content

Commit 2eb68e6

Browse files
authored
test(NODE-4574): skip zstd and snappy on gallium (#3379)
1 parent 846365a commit 2eb68e6

File tree

2 files changed

+115
-7
lines changed

2 files changed

+115
-7
lines changed

.evergreen/config.yml

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,40 @@ buildvariants:
21802180
expansions:
21812181
NODE_LTS_NAME: gallium
21822182
CLIENT_ENCRYPTION: true
2183-
tasks: *ref_0
2183+
tasks:
2184+
- test-latest-server
2185+
- test-latest-replica_set
2186+
- test-latest-sharded_cluster
2187+
- test-6.0-server
2188+
- test-6.0-replica_set
2189+
- test-6.0-sharded_cluster
2190+
- test-5.0-server
2191+
- test-5.0-replica_set
2192+
- test-5.0-sharded_cluster
2193+
- test-4.4-server
2194+
- test-4.4-replica_set
2195+
- test-4.4-sharded_cluster
2196+
- test-4.2-server
2197+
- test-4.2-replica_set
2198+
- test-4.2-sharded_cluster
2199+
- test-4.0-server
2200+
- test-4.0-replica_set
2201+
- test-4.0-sharded_cluster
2202+
- test-3.6-server
2203+
- test-3.6-replica_set
2204+
- test-3.6-sharded_cluster
2205+
- test-latest-server-v1-api
2206+
- test-atlas-connectivity
2207+
- test-atlas-data-lake
2208+
- test-auth-kerberos
2209+
- test-auth-ldap
2210+
- test-socks5
2211+
- test-socks5-tls
2212+
- test-tls-support-latest
2213+
- test-tls-support-6.0
2214+
- test-tls-support-5.0
2215+
- test-tls-support-4.4
2216+
- test-tls-support-4.2
21842217
- name: ubuntu-18.04-erbium
21852218
display_name: Ubuntu 18.04 Node Erbium
21862219
run_on: ubuntu1804-large
@@ -2239,7 +2272,43 @@ buildvariants:
22392272
expansions:
22402273
NODE_LTS_NAME: gallium
22412274
CLIENT_ENCRYPTION: true
2242-
tasks: *ref_1
2275+
tasks:
2276+
- test-latest-server
2277+
- test-latest-replica_set
2278+
- test-latest-sharded_cluster
2279+
- test-6.0-server
2280+
- test-6.0-replica_set
2281+
- test-6.0-sharded_cluster
2282+
- test-5.0-server
2283+
- test-5.0-replica_set
2284+
- test-5.0-sharded_cluster
2285+
- test-4.4-server
2286+
- test-4.4-replica_set
2287+
- test-4.4-sharded_cluster
2288+
- test-4.2-server
2289+
- test-4.2-replica_set
2290+
- test-4.2-sharded_cluster
2291+
- test-4.0-server
2292+
- test-4.0-replica_set
2293+
- test-4.0-sharded_cluster
2294+
- test-3.6-server
2295+
- test-3.6-replica_set
2296+
- test-3.6-sharded_cluster
2297+
- test-latest-server-v1-api
2298+
- test-atlas-connectivity
2299+
- test-atlas-data-lake
2300+
- test-5.0-load-balanced
2301+
- test-6.0-load-balanced
2302+
- test-latest-load-balanced
2303+
- test-auth-kerberos
2304+
- test-auth-ldap
2305+
- test-socks5
2306+
- test-socks5-tls
2307+
- test-tls-support-latest
2308+
- test-tls-support-6.0
2309+
- test-tls-support-5.0
2310+
- test-tls-support-4.4
2311+
- test-tls-support-4.2
22432312
- name: windows-64-vs2019-erbium
22442313
display_name: Windows (VS2019) Node Erbium
22452314
run_on: windows-64-vs2019-large
@@ -2292,7 +2361,37 @@ buildvariants:
22922361
expansions:
22932362
NODE_LTS_NAME: gallium
22942363
MSVS_VERSION: 2019
2295-
tasks: *ref_2
2364+
tasks:
2365+
- test-latest-server
2366+
- test-latest-replica_set
2367+
- test-latest-sharded_cluster
2368+
- test-6.0-server
2369+
- test-6.0-replica_set
2370+
- test-6.0-sharded_cluster
2371+
- test-5.0-server
2372+
- test-5.0-replica_set
2373+
- test-5.0-sharded_cluster
2374+
- test-4.4-server
2375+
- test-4.4-replica_set
2376+
- test-4.4-sharded_cluster
2377+
- test-4.2-server
2378+
- test-4.2-replica_set
2379+
- test-4.2-sharded_cluster
2380+
- test-4.0-server
2381+
- test-4.0-replica_set
2382+
- test-4.0-sharded_cluster
2383+
- test-3.6-server
2384+
- test-3.6-replica_set
2385+
- test-3.6-sharded_cluster
2386+
- test-latest-server-v1-api
2387+
- test-atlas-data-lake
2388+
- test-socks5
2389+
- test-socks5-tls
2390+
- test-tls-support-latest
2391+
- test-tls-support-6.0
2392+
- test-tls-support-5.0
2393+
- test-tls-support-4.4
2394+
- test-tls-support-4.2
22962395
- name: lint
22972396
display_name: lint
22982397
run_on: ubuntu1804-large

.evergreen/generate_evergreen_tasks.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ TASKS.push(
227227
]
228228
);
229229

230-
['zstd', 'snappy'].forEach(compressor => {
230+
for (const compressor of ['zstd', 'snappy']) {
231231
TASKS.push({
232232
name: `test-${compressor}-compression`,
233233
tags: ['latest', compressor],
@@ -245,7 +245,7 @@ TASKS.push(
245245
{ func: 'run-compression-tests' }
246246
]
247247
});
248-
});
248+
}
249249

250250
TLS_VERSIONS.forEach(VERSION => {
251251
TASKS.push({
@@ -549,8 +549,8 @@ const oneOffFuncAsTasks = oneOffFuncs.map(oneOffFunc => ({
549549
]
550550
}));
551551

552-
[ '5.0', 'rapid', 'latest' ].forEach(version => {
553-
[ 'c071d5a8d59ddcad40f22887a12bdb374c2f86af', 'master' ].forEach(ref => {
552+
['5.0', 'rapid', 'latest'].forEach(version => {
553+
['c071d5a8d59ddcad40f22887a12bdb374c2f86af', 'master'].forEach(ref => {
554554
oneOffFuncAsTasks.push({
555555
name: `run-custom-csfle-tests-${version}-${ref === 'master' ? ref : 'pinned-commit'}`,
556556
tags: ['run-custom-dependency-tests'],
@@ -622,6 +622,15 @@ BUILD_VARIANTS.push({
622622
tasks: AUTH_DISABLED_TASKS.map(({ name }) => name)
623623
});
624624

625+
// TODO(NODE-4575): unskip zstd and snappy on node 16
626+
for (const variant of BUILD_VARIANTS.filter(
627+
variant => variant.expansions && variant.expansions.NODE_LTS_NAME === 'gallium'
628+
)) {
629+
variant.tasks = variant.tasks.filter(
630+
name => !['test-zstd-compression', 'test-snappy-compression'].includes(name)
631+
);
632+
}
633+
625634
const fileData = yaml.load(fs.readFileSync(`${__dirname}/config.in.yml`, 'utf8'));
626635
fileData.tasks = (fileData.tasks || [])
627636
.concat(BASE_TASKS)

0 commit comments

Comments
 (0)