Skip to content

test(NODE-4574): skip zstd and snappy on gallium #3379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 102 additions & 3 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2180,7 +2180,40 @@ buildvariants:
expansions:
NODE_LTS_NAME: gallium
CLIENT_ENCRYPTION: true
tasks: *ref_0
tasks:
- test-latest-server
- test-latest-replica_set
- test-latest-sharded_cluster
- test-6.0-server
- test-6.0-replica_set
- test-6.0-sharded_cluster
- test-5.0-server
- test-5.0-replica_set
- test-5.0-sharded_cluster
- test-4.4-server
- test-4.4-replica_set
- test-4.4-sharded_cluster
- test-4.2-server
- test-4.2-replica_set
- test-4.2-sharded_cluster
- test-4.0-server
- test-4.0-replica_set
- test-4.0-sharded_cluster
- test-3.6-server
- test-3.6-replica_set
- test-3.6-sharded_cluster
- test-latest-server-v1-api
- test-atlas-connectivity
- test-atlas-data-lake
- test-auth-kerberos
- test-auth-ldap
- test-socks5
- test-socks5-tls
- test-tls-support-latest
- test-tls-support-6.0
- test-tls-support-5.0
- test-tls-support-4.4
- test-tls-support-4.2
- name: ubuntu-18.04-erbium
display_name: Ubuntu 18.04 Node Erbium
run_on: ubuntu1804-large
Expand Down Expand Up @@ -2239,7 +2272,43 @@ buildvariants:
expansions:
NODE_LTS_NAME: gallium
CLIENT_ENCRYPTION: true
tasks: *ref_1
tasks:
- test-latest-server
- test-latest-replica_set
- test-latest-sharded_cluster
- test-6.0-server
- test-6.0-replica_set
- test-6.0-sharded_cluster
- test-5.0-server
- test-5.0-replica_set
- test-5.0-sharded_cluster
- test-4.4-server
- test-4.4-replica_set
- test-4.4-sharded_cluster
- test-4.2-server
- test-4.2-replica_set
- test-4.2-sharded_cluster
- test-4.0-server
- test-4.0-replica_set
- test-4.0-sharded_cluster
- test-3.6-server
- test-3.6-replica_set
- test-3.6-sharded_cluster
- test-latest-server-v1-api
- test-atlas-connectivity
- test-atlas-data-lake
- test-5.0-load-balanced
- test-6.0-load-balanced
- test-latest-load-balanced
- test-auth-kerberos
- test-auth-ldap
- test-socks5
- test-socks5-tls
- test-tls-support-latest
- test-tls-support-6.0
- test-tls-support-5.0
- test-tls-support-4.4
- test-tls-support-4.2
- name: windows-64-vs2019-erbium
display_name: Windows (VS2019) Node Erbium
run_on: windows-64-vs2019-large
Expand Down Expand Up @@ -2292,7 +2361,37 @@ buildvariants:
expansions:
NODE_LTS_NAME: gallium
MSVS_VERSION: 2019
tasks: *ref_2
tasks:
- test-latest-server
- test-latest-replica_set
- test-latest-sharded_cluster
- test-6.0-server
- test-6.0-replica_set
- test-6.0-sharded_cluster
- test-5.0-server
- test-5.0-replica_set
- test-5.0-sharded_cluster
- test-4.4-server
- test-4.4-replica_set
- test-4.4-sharded_cluster
- test-4.2-server
- test-4.2-replica_set
- test-4.2-sharded_cluster
- test-4.0-server
- test-4.0-replica_set
- test-4.0-sharded_cluster
- test-3.6-server
- test-3.6-replica_set
- test-3.6-sharded_cluster
- test-latest-server-v1-api
- test-atlas-data-lake
- test-socks5
- test-socks5-tls
- test-tls-support-latest
- test-tls-support-6.0
- test-tls-support-5.0
- test-tls-support-4.4
- test-tls-support-4.2
- name: lint
display_name: lint
run_on: ubuntu1804-large
Expand Down
17 changes: 13 additions & 4 deletions .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ TASKS.push(
]
);

['zstd', 'snappy'].forEach(compressor => {
for (const compressor of ['zstd', 'snappy']) {
TASKS.push({
name: `test-${compressor}-compression`,
tags: ['latest', compressor],
Expand All @@ -245,7 +245,7 @@ TASKS.push(
{ func: 'run-compression-tests' }
]
});
});
}

TLS_VERSIONS.forEach(VERSION => {
TASKS.push({
Expand Down Expand Up @@ -549,8 +549,8 @@ const oneOffFuncAsTasks = oneOffFuncs.map(oneOffFunc => ({
]
}));

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

// TODO(NODE-4575): unskip zstd and snappy on node 16
for (const variant of BUILD_VARIANTS.filter(
variant => variant.expansions && variant.expansions.NODE_LTS_NAME === 'gallium'
)) {
variant.tasks = variant.tasks.filter(
name => !['test-zstd-compression', 'test-snappy-compression'].includes(name)
);
}

const fileData = yaml.load(fs.readFileSync(`${__dirname}/config.in.yml`, 'utf8'));
fileData.tasks = (fileData.tasks || [])
.concat(BASE_TASKS)
Expand Down