diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 6fec13aab8..b912ff0ff7 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -4708,7 +4708,7 @@ buildvariants: display_name: rhel8 Node Latest run_on: rhel80-large expansions: - NODE_LTS_VERSION: 20 + NODE_LTS_VERSION: latest CLIENT_ENCRYPTION: true tasks: - test-latest-server @@ -4749,9 +4749,10 @@ buildvariants: - test-latest-load-balanced - test-auth-kerberos - test-auth-ldap - - test-socks5 - test-socks5-csfle - test-socks5-tls + - test-zstd-compression + - test-snappy-compression - test-tls-support-latest - test-tls-support-8.0 - test-tls-support-7.0 diff --git a/.evergreen/generate_evergreen_tasks.js b/.evergreen/generate_evergreen_tasks.js index 52d5d2124e..13b5deec49 100644 --- a/.evergreen/generate_evergreen_tasks.js +++ b/.evergreen/generate_evergreen_tasks.js @@ -395,7 +395,7 @@ for (const { name: `${osName}-node-latest`, display_name: `${osDisplayName} Node Latest`, run_on, - expansions: { NODE_LTS_VERSION: LATEST_LTS }, + expansions: { NODE_LTS_VERSION: 'latest' }, tasks: tasks.map(({ name }) => name) }; if (clientEncryption) { diff --git a/test/integration/crud/insert.test.js b/test/integration/crud/insert.test.js index f154827d92..c7c212d91d 100644 --- a/test/integration/crud/insert.test.js +++ b/test/integration/crud/insert.test.js @@ -1,4 +1,5 @@ 'use strict'; +const semver = require('semver'); const { assert: test, ignoreNsNotFound, setupDatabase } = require('../shared'); const { format: f } = require('util'); const { expect } = require('chai'); @@ -1680,6 +1681,11 @@ describe('crud - insert', function () { }, test: function (done) { + if (semver.satisfies(process.versions.node, '22.7.0')) { + this.skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug'; + this.skip(); + } + var regexp = /foobaré/; var configuration = this.configuration; diff --git a/test/integration/crud/unicode.test.js b/test/integration/crud/unicode.test.js index b4332e4afc..ab39df20fb 100644 --- a/test/integration/crud/unicode.test.js +++ b/test/integration/crud/unicode.test.js @@ -1,4 +1,5 @@ 'use strict'; +const semver = require('semver'); const { assert: test, setupDatabase } = require('../shared'); const { expect } = require('chai'); @@ -13,6 +14,11 @@ describe('Unicode', function () { }, test: function (done) { + if (semver.satisfies(process.versions.node, '22.7.0')) { + this.skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug'; + this.skip(); + } + var configuration = this.configuration; var client = configuration.newClient(configuration.writeConcernMax(), { maxPoolSize: 1 }); client.connect(function (err, client) {