Skip to content

Commit 85f7dcf

Browse files
authored
chore(NODE-6397): change node-latest task to use latest node version (#4213)
1 parent 3f9d243 commit 85f7dcf

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.evergreen/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4708,7 +4708,7 @@ buildvariants:
47084708
display_name: rhel8 Node Latest
47094709
run_on: rhel80-large
47104710
expansions:
4711-
NODE_LTS_VERSION: 20
4711+
NODE_LTS_VERSION: latest
47124712
CLIENT_ENCRYPTION: true
47134713
tasks:
47144714
- test-latest-server
@@ -4749,9 +4749,10 @@ buildvariants:
47494749
- test-latest-load-balanced
47504750
- test-auth-kerberos
47514751
- test-auth-ldap
4752-
- test-socks5
47534752
- test-socks5-csfle
47544753
- test-socks5-tls
4754+
- test-zstd-compression
4755+
- test-snappy-compression
47554756
- test-tls-support-latest
47564757
- test-tls-support-8.0
47574758
- test-tls-support-7.0

.evergreen/generate_evergreen_tasks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ for (const {
395395
name: `${osName}-node-latest`,
396396
display_name: `${osDisplayName} Node Latest`,
397397
run_on,
398-
expansions: { NODE_LTS_VERSION: LATEST_LTS },
398+
expansions: { NODE_LTS_VERSION: 'latest' },
399399
tasks: tasks.map(({ name }) => name)
400400
};
401401
if (clientEncryption) {

test/integration/crud/insert.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use strict';
2+
const semver = require('semver');
23
const { assert: test, ignoreNsNotFound, setupDatabase } = require('../shared');
34
const { format: f } = require('util');
45
const { expect } = require('chai');
@@ -1680,6 +1681,11 @@ describe('crud - insert', function () {
16801681
},
16811682

16821683
test: function (done) {
1684+
if (semver.satisfies(process.versions.node, '22.7.0')) {
1685+
this.skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug';
1686+
this.skip();
1687+
}
1688+
16831689
var regexp = /foobaré/;
16841690

16851691
var configuration = this.configuration;

test/integration/crud/unicode.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use strict';
2+
const semver = require('semver');
23
const { assert: test, setupDatabase } = require('../shared');
34
const { expect } = require('chai');
45

@@ -13,6 +14,11 @@ describe('Unicode', function () {
1314
},
1415

1516
test: function (done) {
17+
if (semver.satisfies(process.versions.node, '22.7.0')) {
18+
this.skipReason = 'Node.js 22.7.0 has a UTF-8 encoding bug';
19+
this.skip();
20+
}
21+
1622
var configuration = this.configuration;
1723
var client = configuration.newClient(configuration.writeConcernMax(), { maxPoolSize: 1 });
1824
client.connect(function (err, client) {

0 commit comments

Comments
 (0)